summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:46 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:46 +0200
commit2c15043e2283ca5ea42675fd8bb3f506766fefa6 (patch)
treede5c9f2ab66464d0d95e4f954a5d90d01d583851
parent4e4b79d608978c3c2fb65c3eb02e65cd10d55648 (diff)
tty: serial: cpm_uart: drop owner assignment from platform_drivers
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>
-rw-r--r--drivers/tty/serial/cpm_uart/cpm_uart_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
index 533852eb8778..5a59f8db3b80 100644
--- 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,