summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/8250/8250_em.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:45 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:45 +0200
commit4e4b79d608978c3c2fb65c3eb02e65cd10d55648 (patch)
tree3c2b66e0c67f5ac65f7b7477fde135ecbb4344de /drivers/tty/serial/8250/8250_em.c
parent9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc (diff)
downloadlinux-4e4b79d608978c3c2fb65c3eb02e65cd10d55648.tar.bz2
tty: serial: 8250: 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>
Diffstat (limited to 'drivers/tty/serial/8250/8250_em.c')
-rw-r--r--drivers/tty/serial/8250/8250_em.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c
index 56c87232b6a0..3f0858d72411 100644
--- a/drivers/tty/serial/8250/8250_em.c
+++ b/drivers/tty/serial/8250/8250_em.c
@@ -161,7 +161,6 @@ static struct platform_driver serial8250_em_platform_driver = {
.driver = {
.name = "serial8250-em",
.of_match_table = serial8250_em_dt_ids,
- .owner = THIS_MODULE,
},
.probe = serial8250_em_probe,
.remove = serial8250_em_remove,