aboutsummaryrefslogtreecommitdiffstats
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 11:04:07 -0700
commit289b8dd695836fc295cf3cb4e1e520322495556c (patch)
treef5a77a911c3dcefcd6f72d84df9dffd3d89b81ad
parentf4b208eb91776b0522b41c78fac6cf08134db78f (diff)
downloadkernel_goldelico_gta04-289b8dd695836fc295cf3cb4e1e520322495556c.zip
kernel_goldelico_gta04-289b8dd695836fc295cf3cb4e1e520322495556c.tar.gz
kernel_goldelico_gta04-289b8dd695836fc295cf3cb4e1e520322495556c.tar.bz2
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>
-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 08dbfb8..b1d04aa 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");