diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:30 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:30 -0400 |
commit | 08147bb19a37c8cb2b8149310cf2fa7865c7535e (patch) | |
tree | 3d3ce5aba3c6aa58a7cb38710551b2608cc633a0 /drivers/extcon | |
parent | b7382f8349c60f364802d8ad124699ef4428e635 (diff) |
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')
-rw-r--r-- | drivers/extcon/extcon-adc-jack.c | 1 | ||||
-rw-r--r-- | drivers/extcon/extcon-arizona.c | 1 | ||||
-rw-r--r-- | drivers/extcon/extcon-gpio.c | 1 | ||||
-rw-r--r-- | drivers/extcon/extcon-max14577.c | 1 | ||||
-rw-r--r-- | drivers/extcon/extcon-max77693.c | 1 | ||||
-rw-r--r-- | drivers/extcon/extcon-max8997.c | 1 | ||||
-rw-r--r-- | drivers/extcon/extcon-palmas.c | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/drivers/extcon/extcon-adc-jack.c b/drivers/extcon/extcon-adc-jack.c index d860229e4de1..5d7ab577fba9 100644 --- a/drivers/extcon/extcon-adc-jack.c +++ b/drivers/extcon/extcon-adc-jack.c | |||
@@ -182,7 +182,6 @@ static struct platform_driver adc_jack_driver = { | |||
182 | .remove = adc_jack_remove, | 182 | .remove = adc_jack_remove, |
183 | .driver = { | 183 | .driver = { |
184 | .name = "adc-jack", | 184 | .name = "adc-jack", |
185 | .owner = THIS_MODULE, | ||
186 | }, | 185 | }, |
187 | }; | 186 | }; |
188 | 187 | ||
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index ba51588cc000..63f01c42aed4 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c | |||
@@ -1469,7 +1469,6 @@ static int arizona_extcon_remove(struct platform_device *pdev) | |||
1469 | static struct platform_driver arizona_extcon_driver = { | 1469 | static struct platform_driver arizona_extcon_driver = { |
1470 | .driver = { | 1470 | .driver = { |
1471 | .name = "arizona-extcon", | 1471 | .name = "arizona-extcon", |
1472 | .owner = THIS_MODULE, | ||
1473 | }, | 1472 | }, |
1474 | .probe = arizona_extcon_probe, | 1473 | .probe = arizona_extcon_probe, |
1475 | .remove = arizona_extcon_remove, | 1474 | .remove = arizona_extcon_remove, |
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 = { | |||
181 | .remove = gpio_extcon_remove, | 181 | .remove = gpio_extcon_remove, |
182 | .driver = { | 182 | .driver = { |
183 | .name = "extcon-gpio", | 183 | .name = "extcon-gpio", |
184 | .owner = THIS_MODULE, | ||
185 | .pm = &gpio_extcon_pm_ops, | 184 | .pm = &gpio_extcon_pm_ops, |
186 | }, | 185 | }, |
187 | }; | 186 | }; |
diff --git a/drivers/extcon/extcon-max14577.c b/drivers/extcon/extcon-max14577.c index 7309743d0da1..dfc2fd370eb3 100644 --- a/drivers/extcon/extcon-max14577.c +++ b/drivers/extcon/extcon-max14577.c | |||
@@ -807,7 +807,6 @@ MODULE_DEVICE_TABLE(platform, max14577_muic_id); | |||
807 | static struct platform_driver max14577_muic_driver = { | 807 | static struct platform_driver max14577_muic_driver = { |
808 | .driver = { | 808 | .driver = { |
809 | .name = "max14577-muic", | 809 | .name = "max14577-muic", |
810 | .owner = THIS_MODULE, | ||
811 | }, | 810 | }, |
812 | .probe = max14577_muic_probe, | 811 | .probe = max14577_muic_probe, |
813 | .remove = max14577_muic_remove, | 812 | .remove = max14577_muic_remove, |
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 490e27475bac..5bf5c5e66f16 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c | |||
@@ -1301,7 +1301,6 @@ static int max77693_muic_remove(struct platform_device *pdev) | |||
1301 | static struct platform_driver max77693_muic_driver = { | 1301 | static struct platform_driver max77693_muic_driver = { |
1302 | .driver = { | 1302 | .driver = { |
1303 | .name = DEV_NAME, | 1303 | .name = DEV_NAME, |
1304 | .owner = THIS_MODULE, | ||
1305 | }, | 1304 | }, |
1306 | .probe = max77693_muic_probe, | 1305 | .probe = max77693_muic_probe, |
1307 | .remove = max77693_muic_remove, | 1306 | .remove = max77693_muic_remove, |
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) | |||
792 | static struct platform_driver max8997_muic_driver = { | 792 | static struct platform_driver max8997_muic_driver = { |
793 | .driver = { | 793 | .driver = { |
794 | .name = DEV_NAME, | 794 | .name = DEV_NAME, |
795 | .owner = THIS_MODULE, | ||
796 | }, | 795 | }, |
797 | .probe = max8997_muic_probe, | 796 | .probe = max8997_muic_probe, |
798 | .remove = max8997_muic_remove, | 797 | .remove = max8997_muic_remove, |
diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c index 230e1220ce48..11c6757b6c40 100644 --- a/drivers/extcon/extcon-palmas.c +++ b/drivers/extcon/extcon-palmas.c | |||
@@ -291,7 +291,6 @@ static struct platform_driver palmas_usb_driver = { | |||
291 | .driver = { | 291 | .driver = { |
292 | .name = "palmas-usb", | 292 | .name = "palmas-usb", |
293 | .of_match_table = of_palmas_match_tbl, | 293 | .of_match_table = of_palmas_match_tbl, |
294 | .owner = THIS_MODULE, | ||
295 | .pm = &palmas_pm_ops, | 294 | .pm = &palmas_pm_ops, |
296 | }, | 295 | }, |
297 | }; | 296 | }; |