projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b208e
)
serial: sccnxp: Do not override device name
author
Alexander Shiyan
<shc_work@mail.ru>
Sat, 13 Apr 2013 04:46:57 +0000
(08:46 +0400)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/sccnxp.c
b/drivers/tty/serial/sccnxp.c
index
08dbfb8
..
b1d04aa
100644
(file)
--- 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");