diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:21:39 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:21:39 (GMT) |
commit | 305f3de8d1c5902c6c7b9617dc75d8647ce60b19 (patch) | |
tree | ec3b6fbd742c6b1745bb465607a02337851c33d0 | |
parent | 95f87b928376690a23137944239d8d9121c6abae (diff) | |
download | linux-305f3de8d1c5902c6c7b9617dc75d8647ce60b19.tar.xz |
staging: media: lirc: 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/staging/media/lirc/lirc_parallel.c | 1 | ||||
-rw-r--r-- | drivers/staging/media/lirc/lirc_serial.c | 1 | ||||
-rw-r--r-- | drivers/staging/media/lirc/lirc_sir.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/media/lirc/lirc_parallel.c b/drivers/staging/media/lirc/lirc_parallel.c index 5156c21..19c5c21 100644 --- a/drivers/staging/media/lirc/lirc_parallel.c +++ b/drivers/staging/media/lirc/lirc_parallel.c @@ -605,7 +605,6 @@ static struct platform_driver lirc_parallel_driver = { .resume = lirc_parallel_resume, .driver = { .name = LIRC_DRIVER_NAME, - .owner = THIS_MODULE, }, }; diff --git a/drivers/staging/media/lirc/lirc_serial.c b/drivers/staging/media/lirc/lirc_serial.c index 181b92b..eb4ccb8 100644 --- a/drivers/staging/media/lirc/lirc_serial.c +++ b/drivers/staging/media/lirc/lirc_serial.c @@ -1060,7 +1060,6 @@ static struct platform_driver lirc_serial_driver = { .resume = lirc_serial_resume, .driver = { .name = "lirc_serial", - .owner = THIS_MODULE, }, }; diff --git a/drivers/staging/media/lirc/lirc_sir.c b/drivers/staging/media/lirc/lirc_sir.c index 2ee55ea..e961b52 100644 --- a/drivers/staging/media/lirc/lirc_sir.c +++ b/drivers/staging/media/lirc/lirc_sir.c @@ -931,7 +931,6 @@ static struct platform_driver lirc_sir_driver = { .remove = lirc_sir_remove, .driver = { .name = "lirc_sir", - .owner = THIS_MODULE, }, }; |