提交 289b8dd6 编写于 作者: A Alexander Shiyan 提交者: Greg Kroah-Hartman

serial: sccnxp: Do not override device name

Signed-off-by: NAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f4b208eb
...@@ -789,8 +789,6 @@ static int sccnxp_probe(struct platform_device *pdev) ...@@ -789,8 +789,6 @@ static int sccnxp_probe(struct platform_device *pdev)
return -EADDRNOTAVAIL; return -EADDRNOTAVAIL;
} }
dev_set_name(&pdev->dev, SCCNXP_NAME);
s = devm_kzalloc(&pdev->dev, sizeof(struct sccnxp_port), GFP_KERNEL); s = devm_kzalloc(&pdev->dev, sizeof(struct sccnxp_port), GFP_KERNEL);
if (!s) { if (!s) {
dev_err(&pdev->dev, "Error allocating port structure\n"); dev_err(&pdev->dev, "Error allocating port structure\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册