diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-04-13 08:46:57 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-15 11:04:07 -0700 |
commit | 289b8dd695836fc295cf3cb4e1e520322495556c (patch) | |
tree | f5a77a911c3dcefcd6f72d84df9dffd3d89b81ad /drivers/tty/serial/sccnxp.c | |
parent | f4b208eb91776b0522b41c78fac6cf08134db78f (diff) | |
download | talos-obmc-linux-289b8dd695836fc295cf3cb4e1e520322495556c.tar.gz talos-obmc-linux-289b8dd695836fc295cf3cb4e1e520322495556c.zip |
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.c | 2 |
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"); |