summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/samsung.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:45 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:45 +0400
commit9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc (patch)
tree6c8755563d83523c6f8771bf7198cffa846365ea /drivers/tty/serial/samsung.c
parent3aa5fed2564fd7a18f6f6ab4fd1a50538ebb70e9 (diff)
downloadlinux-9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc.tar.xz
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/samsung.c')
-rw-r--r--drivers/tty/serial/samsung.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c
index c78f43a481ce..7961bf411432 100644
--- a/drivers/tty/serial/samsung.c
+++ b/drivers/tty/serial/samsung.c
@@ -1848,7 +1848,6 @@ static struct platform_driver samsung_serial_driver = {
.id_table = s3c24xx_serial_driver_ids,
.driver = {
.name = "samsung-uart",
- .owner = THIS_MODULE,
.pm = SERIAL_SAMSUNG_PM_OPS,
.of_match_table = of_match_ptr(s3c24xx_uart_dt_match),
},