diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-04-13 06:46:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-15 20:04:07 +0200 |
commit | 289b8dd695836fc295cf3cb4e1e520322495556c (patch) | |
tree | f5a77a911c3dcefcd6f72d84df9dffd3d89b81ad /drivers/tty | |
parent | TTY: pty, fix compilation warning (diff) | |
download | linux-289b8dd695836fc295cf3cb4e1e520322495556c.tar.xz 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')
-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"); |