Commit 08147bb1 authored by Wolfram Sang's avatar Wolfram Sang

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: default avatarWolfram Sang <wsa@the-dreams.de>
parent b7382f83
...@@ -182,7 +182,6 @@ static struct platform_driver adc_jack_driver = { ...@@ -182,7 +182,6 @@ static struct platform_driver adc_jack_driver = {
.remove = adc_jack_remove, .remove = adc_jack_remove,
.driver = { .driver = {
.name = "adc-jack", .name = "adc-jack",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -1469,7 +1469,6 @@ static int arizona_extcon_remove(struct platform_device *pdev) ...@@ -1469,7 +1469,6 @@ static int arizona_extcon_remove(struct platform_device *pdev)
static struct platform_driver arizona_extcon_driver = { static struct platform_driver arizona_extcon_driver = {
.driver = { .driver = {
.name = "arizona-extcon", .name = "arizona-extcon",
.owner = THIS_MODULE,
}, },
.probe = arizona_extcon_probe, .probe = arizona_extcon_probe,
.remove = arizona_extcon_remove, .remove = arizona_extcon_remove,
......
...@@ -181,7 +181,6 @@ static struct platform_driver gpio_extcon_driver = { ...@@ -181,7 +181,6 @@ static struct platform_driver gpio_extcon_driver = {
.remove = gpio_extcon_remove, .remove = gpio_extcon_remove,
.driver = { .driver = {
.name = "extcon-gpio", .name = "extcon-gpio",
.owner = THIS_MODULE,
.pm = &gpio_extcon_pm_ops, .pm = &gpio_extcon_pm_ops,
}, },
}; };
......
...@@ -807,7 +807,6 @@ MODULE_DEVICE_TABLE(platform, max14577_muic_id); ...@@ -807,7 +807,6 @@ MODULE_DEVICE_TABLE(platform, max14577_muic_id);
static struct platform_driver max14577_muic_driver = { static struct platform_driver max14577_muic_driver = {
.driver = { .driver = {
.name = "max14577-muic", .name = "max14577-muic",
.owner = THIS_MODULE,
}, },
.probe = max14577_muic_probe, .probe = max14577_muic_probe,
.remove = max14577_muic_remove, .remove = max14577_muic_remove,
......
...@@ -1301,7 +1301,6 @@ static int max77693_muic_remove(struct platform_device *pdev) ...@@ -1301,7 +1301,6 @@ static int max77693_muic_remove(struct platform_device *pdev)
static struct platform_driver max77693_muic_driver = { static struct platform_driver max77693_muic_driver = {
.driver = { .driver = {
.name = DEV_NAME, .name = DEV_NAME,
.owner = THIS_MODULE,
}, },
.probe = max77693_muic_probe, .probe = max77693_muic_probe,
.remove = max77693_muic_remove, .remove = max77693_muic_remove,
......
...@@ -792,7 +792,6 @@ static int max8997_muic_remove(struct platform_device *pdev) ...@@ -792,7 +792,6 @@ static int max8997_muic_remove(struct platform_device *pdev)
static struct platform_driver max8997_muic_driver = { static struct platform_driver max8997_muic_driver = {
.driver = { .driver = {
.name = DEV_NAME, .name = DEV_NAME,
.owner = THIS_MODULE,
}, },
.probe = max8997_muic_probe, .probe = max8997_muic_probe,
.remove = max8997_muic_remove, .remove = max8997_muic_remove,
......
...@@ -291,7 +291,6 @@ static struct platform_driver palmas_usb_driver = { ...@@ -291,7 +291,6 @@ static struct platform_driver palmas_usb_driver = {
.driver = { .driver = {
.name = "palmas-usb", .name = "palmas-usb",
.of_match_table = of_palmas_match_tbl, .of_match_table = of_palmas_match_tbl,
.owner = THIS_MODULE,
.pm = &palmas_pm_ops, .pm = &palmas_pm_ops,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment