summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-04-13 08:46:57 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-15 22:04:07 +0400
commit289b8dd695836fc295cf3cb4e1e520322495556c (patch)
treef5a77a911c3dcefcd6f72d84df9dffd3d89b81ad /drivers/tty/serial/sccnxp.c
parentf4b208eb91776b0522b41c78fac6cf08134db78f (diff)
downloadlinux-289b8dd695836fc295cf3cb4e1e520322495556c.tar.xz
serial: sccnxp: Do not override device name
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
-rw-r--r--drivers/tty/serial/sccnxp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c
index 08dbfb88d42c..b1d04aabd50c 100644
--- a/drivers/tty/serial/sccnxp.c
+++ b/drivers/tty/serial/sccnxp.c
@@ -789,8 +789,6 @@ static int sccnxp_probe(struct platform_device *pdev)
return -EADDRNOTAVAIL;
}
- dev_set_name(&pdev->dev, SCCNXP_NAME);
-
s = devm_kzalloc(&pdev->dev, sizeof(struct sccnxp_port), GFP_KERNEL);
if (!s) {
dev_err(&pdev->dev, "Error allocating port structure\n");