diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:44 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:44 +0200 |
commit | c910367fed9fc73368d0deb7898c5ceef31e5d8f (patch) | |
tree | bc262d5310ad968849d65b6a6ec9b1b4167ac2dc /drivers/tty | |
parent | 4b6d6c6785b33dabeee69cab1c04954e584ab84c (diff) | |
download | linux-stable-c910367fed9fc73368d0deb7898c5ceef31e5d8f.tar.gz linux-stable-c910367fed9fc73368d0deb7898c5ceef31e5d8f.tar.bz2 linux-stable-c910367fed9fc73368d0deb7898c5ceef31e5d8f.zip |
tty: 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')
-rw-r--r-- | drivers/tty/amiserial.c | 1 | ||||
-rw-r--r-- | drivers/tty/ehv_bytechan.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c index 979e7c3ea2cb..d9f85f95eb2a 100644 --- a/drivers/tty/amiserial.c +++ b/drivers/tty/amiserial.c @@ -1802,7 +1802,6 @@ static struct platform_driver amiga_serial_driver = { .remove = __exit_p(amiga_serial_remove), .driver = { .name = "amiga-serial", - .owner = THIS_MODULE, }, }; diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 4f485e88f60c..ffe08e1d7187 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c @@ -740,7 +740,6 @@ static const struct of_device_id ehv_bc_tty_of_ids[] = { static struct platform_driver ehv_bc_tty_driver = { .driver = { - .owner = THIS_MODULE, .name = "ehv-bc", .of_match_table = ehv_bc_tty_of_ids, }, |