summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-max8997.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:30 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:30 +0400
commit08147bb19a37c8cb2b8149310cf2fa7865c7535e (patch)
tree3d3ce5aba3c6aa58a7cb38710551b2608cc633a0 /drivers/extcon/extcon-max8997.c
parentb7382f8349c60f364802d8ad124699ef4428e635 (diff)
downloadlinux-08147bb19a37c8cb2b8149310cf2fa7865c7535e.tar.xz
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-max8997.c')
-rw-r--r--drivers/extcon/extcon-max8997.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c
index 75e501c98005..fc1678fa95c4 100644
--- a/drivers/extcon/extcon-max8997.c
+++ b/drivers/extcon/extcon-max8997.c
@@ -792,7 +792,6 @@ static int max8997_muic_remove(struct platform_device *pdev)
static struct platform_driver max8997_muic_driver = {
.driver = {
.name = DEV_NAME,
- .owner = THIS_MODULE,
},
.probe = max8997_muic_probe,
.remove = max8997_muic_remove,