projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e4b79d
)
tty: serial: cpm_uart: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:46 +0000
(16:21 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:46 +0000
(16:21 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/tty/serial/cpm_uart/cpm_uart_core.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/cpm_uart/cpm_uart_core.c
b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
index 533852eb87786d5ecd929b7bbade897df94ee24f..5a59f8db3b803dfbccb9b48465eb47e565f72bc0 100644
(file)
--- a/
drivers/tty/serial/cpm_uart/cpm_uart_core.c
+++ b/
drivers/tty/serial/cpm_uart/cpm_uart_core.c
@@
-1438,7
+1438,6
@@
static struct of_device_id cpm_uart_match[] = {
static struct platform_driver cpm_uart_driver = {
.driver = {
.name = "cpm_uart",
- .owner = THIS_MODULE,
.of_match_table = cpm_uart_match,
},
.probe = cpm_uart_probe,