summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/msm_serial.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
commit9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc (patch)
tree6c8755563d83523c6f8771bf7198cffa846365ea /drivers/tty/serial/msm_serial.c
parenttty: hvc: drop owner assignment from platform_drivers (diff)
downloadlinux-9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc.tar.xz
linux-9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc.zip
tty: serial: 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/msm_serial.c')
-rw-r--r--drivers/tty/serial/msm_serial.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c
index 4b6c78331a64..353725a51efb 100644
--- a/drivers/tty/serial/msm_serial.c
+++ b/drivers/tty/serial/msm_serial.c
@@ -1114,7 +1114,6 @@ static struct platform_driver msm_platform_driver = {
.probe = msm_serial_probe,
.driver = {
.name = "msm_serial",
- .owner = THIS_MODULE,
.of_match_table = msm_match_table,
},
};