From: Alexander Shiyan Date: Sat, 13 Apr 2013 04:46:57 +0000 (+0400) Subject: serial: sccnxp: Do not override device name X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=289b8dd695836fc295cf3cb4e1e520322495556c;p=linux-beck.git serial: sccnxp: Do not override device name Signed-off-by: Alexander Shiyan Signed-off-by: Greg Kroah-Hartman --- 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");