serial: sccnxp: Do not override device name
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 13 Apr 2013 04:46:57 +0000 (08:46 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Apr 2013 18:04:07 +0000 (11:04 -0700)
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sccnxp.c

index 08dbfb88d42c00e4df140532432c0076928328c1..b1d04aabd50cd39fe0a072166780d28e79dd0c3f 100644 (file)
@@ -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");