summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/gpio-ir-recv.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:51 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:51 +0200
commitd07f1c56cfde5389784975415bc2031b3c405a54 (patch)
tree304d6fc619bf0c9eb13bbe30e13f1e45dc750608 /drivers/media/rc/gpio-ir-recv.c
parentmedia: radio: si4713: drop owner assignment from platform_drivers (diff)
downloadlinux-d07f1c56cfde5389784975415bc2031b3c405a54.tar.xz
linux-d07f1c56cfde5389784975415bc2031b3c405a54.zip
media: rc: 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/media/rc/gpio-ir-recv.c')
-rw-r--r--drivers/media/rc/gpio-ir-recv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/rc/gpio-ir-recv.c b/drivers/media/rc/gpio-ir-recv.c
index 59853085bc88..229853d68451 100644
--- a/drivers/media/rc/gpio-ir-recv.c
+++ b/drivers/media/rc/gpio-ir-recv.c
@@ -240,7 +240,6 @@ static struct platform_driver gpio_ir_recv_driver = {
.remove = gpio_ir_recv_remove,
.driver = {
.name = GPIO_IR_DRIVER_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(gpio_ir_recv_of_match),
#ifdef CONFIG_PM
.pm = &gpio_ir_recv_pm_ops,