summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-gpio.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:30 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:30 +0200
commit08147bb19a37c8cb2b8149310cf2fa7865c7535e (patch)
tree3d3ce5aba3c6aa58a7cb38710551b2608cc633a0 /drivers/extcon/extcon-gpio.c
parentedac: drop owner assignment from platform_drivers (diff)
downloadlinux-08147bb19a37c8cb2b8149310cf2fa7865c7535e.tar.xz
linux-08147bb19a37c8cb2b8149310cf2fa7865c7535e.zip
extcon: 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/extcon/extcon-gpio.c')
-rw-r--r--drivers/extcon/extcon-gpio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c
index 72f19a37fd01..7af33fc433cd 100644
--- a/drivers/extcon/extcon-gpio.c
+++ b/drivers/extcon/extcon-gpio.c
@@ -181,7 +181,6 @@ static struct platform_driver gpio_extcon_driver = {
.remove = gpio_extcon_remove,
.driver = {
.name = "extcon-gpio",
- .owner = THIS_MODULE,
.pm = &gpio_extcon_pm_ops,
},
};