diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:28 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:28 -0400 |
commit | 5938ee2bb2e45bfd601896677eb5db3e21339689 (patch) | |
tree | 0ae23da43525035ba12edf3567e699279afecb1c /drivers/power/reset | |
parent | 816c44c369019fd7a7ca460a120dc1dc0dca389e (diff) |
power: reset: 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/power/reset')
-rw-r--r-- | drivers/power/reset/as3722-poweroff.c | 1 | ||||
-rw-r--r-- | drivers/power/reset/brcmstb-reboot.c | 1 | ||||
-rw-r--r-- | drivers/power/reset/gpio-poweroff.c | 1 | ||||
-rw-r--r-- | drivers/power/reset/gpio-restart.c | 1 | ||||
-rw-r--r-- | drivers/power/reset/keystone-reset.c | 1 | ||||
-rw-r--r-- | drivers/power/reset/ltc2952-poweroff.c | 1 | ||||
-rw-r--r-- | drivers/power/reset/qnap-poweroff.c | 1 | ||||
-rw-r--r-- | drivers/power/reset/restart-poweroff.c | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/drivers/power/reset/as3722-poweroff.c b/drivers/power/reset/as3722-poweroff.c index 684971199bd3..60d0295fffb1 100644 --- a/drivers/power/reset/as3722-poweroff.c +++ b/drivers/power/reset/as3722-poweroff.c | |||
@@ -82,7 +82,6 @@ static int as3722_poweroff_remove(struct platform_device *pdev) | |||
82 | static struct platform_driver as3722_poweroff_driver = { | 82 | static struct platform_driver as3722_poweroff_driver = { |
83 | .driver = { | 83 | .driver = { |
84 | .name = "as3722-power-off", | 84 | .name = "as3722-power-off", |
85 | .owner = THIS_MODULE, | ||
86 | }, | 85 | }, |
87 | .probe = as3722_poweroff_probe, | 86 | .probe = as3722_poweroff_probe, |
88 | .remove = as3722_poweroff_remove, | 87 | .remove = as3722_poweroff_remove, |
diff --git a/drivers/power/reset/brcmstb-reboot.c b/drivers/power/reset/brcmstb-reboot.c index 3f236924742a..c523ea7a90ee 100644 --- a/drivers/power/reset/brcmstb-reboot.c +++ b/drivers/power/reset/brcmstb-reboot.c | |||
@@ -107,7 +107,6 @@ static struct platform_driver brcmstb_reboot_driver = { | |||
107 | .probe = brcmstb_reboot_probe, | 107 | .probe = brcmstb_reboot_probe, |
108 | .driver = { | 108 | .driver = { |
109 | .name = "brcmstb-reboot", | 109 | .name = "brcmstb-reboot", |
110 | .owner = THIS_MODULE, | ||
111 | .of_match_table = of_match, | 110 | .of_match_table = of_match, |
112 | }, | 111 | }, |
113 | }; | 112 | }; |
diff --git a/drivers/power/reset/gpio-poweroff.c b/drivers/power/reset/gpio-poweroff.c index ce849bc9b269..e5332f1db8a7 100644 --- a/drivers/power/reset/gpio-poweroff.c +++ b/drivers/power/reset/gpio-poweroff.c | |||
@@ -99,7 +99,6 @@ static struct platform_driver gpio_poweroff_driver = { | |||
99 | .remove = gpio_poweroff_remove, | 99 | .remove = gpio_poweroff_remove, |
100 | .driver = { | 100 | .driver = { |
101 | .name = "poweroff-gpio", | 101 | .name = "poweroff-gpio", |
102 | .owner = THIS_MODULE, | ||
103 | .of_match_table = of_gpio_poweroff_match, | 102 | .of_match_table = of_gpio_poweroff_match, |
104 | }, | 103 | }, |
105 | }; | 104 | }; |
diff --git a/drivers/power/reset/gpio-restart.c b/drivers/power/reset/gpio-restart.c index a76829b3f1cd..edb327efee8b 100644 --- a/drivers/power/reset/gpio-restart.c +++ b/drivers/power/reset/gpio-restart.c | |||
@@ -137,7 +137,6 @@ static struct platform_driver gpio_restart_driver = { | |||
137 | .remove = gpio_restart_remove, | 137 | .remove = gpio_restart_remove, |
138 | .driver = { | 138 | .driver = { |
139 | .name = "restart-gpio", | 139 | .name = "restart-gpio", |
140 | .owner = THIS_MODULE, | ||
141 | .of_match_table = of_gpio_restart_match, | 140 | .of_match_table = of_gpio_restart_match, |
142 | }, | 141 | }, |
143 | }; | 142 | }; |
diff --git a/drivers/power/reset/keystone-reset.c b/drivers/power/reset/keystone-reset.c index 408a18fd91cb..86bc100818b2 100644 --- a/drivers/power/reset/keystone-reset.c +++ b/drivers/power/reset/keystone-reset.c | |||
@@ -153,7 +153,6 @@ static int rsctrl_probe(struct platform_device *pdev) | |||
153 | static struct platform_driver rsctrl_driver = { | 153 | static struct platform_driver rsctrl_driver = { |
154 | .probe = rsctrl_probe, | 154 | .probe = rsctrl_probe, |
155 | .driver = { | 155 | .driver = { |
156 | .owner = THIS_MODULE, | ||
157 | .name = KBUILD_MODNAME, | 156 | .name = KBUILD_MODNAME, |
158 | .of_match_table = rsctrl_of_match, | 157 | .of_match_table = rsctrl_of_match, |
159 | }, | 158 | }, |
diff --git a/drivers/power/reset/ltc2952-poweroff.c b/drivers/power/reset/ltc2952-poweroff.c index 116a1cef8f7b..34f38a3dc3ff 100644 --- a/drivers/power/reset/ltc2952-poweroff.c +++ b/drivers/power/reset/ltc2952-poweroff.c | |||
@@ -342,7 +342,6 @@ static struct platform_driver ltc2952_poweroff_driver = { | |||
342 | .remove = ltc2952_poweroff_remove, | 342 | .remove = ltc2952_poweroff_remove, |
343 | .driver = { | 343 | .driver = { |
344 | .name = "ltc2952-poweroff", | 344 | .name = "ltc2952-poweroff", |
345 | .owner = THIS_MODULE, | ||
346 | .of_match_table = of_ltc2952_poweroff_match, | 345 | .of_match_table = of_ltc2952_poweroff_match, |
347 | }, | 346 | }, |
348 | .suspend = ltc2952_poweroff_suspend, | 347 | .suspend = ltc2952_poweroff_suspend, |
diff --git a/drivers/power/reset/qnap-poweroff.c b/drivers/power/reset/qnap-poweroff.c index a75db7f8a92f..2789a61cec68 100644 --- a/drivers/power/reset/qnap-poweroff.c +++ b/drivers/power/reset/qnap-poweroff.c | |||
@@ -129,7 +129,6 @@ static struct platform_driver qnap_power_off_driver = { | |||
129 | .probe = qnap_power_off_probe, | 129 | .probe = qnap_power_off_probe, |
130 | .remove = qnap_power_off_remove, | 130 | .remove = qnap_power_off_remove, |
131 | .driver = { | 131 | .driver = { |
132 | .owner = THIS_MODULE, | ||
133 | .name = "qnap_power_off", | 132 | .name = "qnap_power_off", |
134 | .of_match_table = of_match_ptr(qnap_power_off_of_match_table), | 133 | .of_match_table = of_match_ptr(qnap_power_off_of_match_table), |
135 | }, | 134 | }, |
diff --git a/drivers/power/reset/restart-poweroff.c b/drivers/power/reset/restart-poweroff.c index edd707ee7281..f46f2c2e4648 100644 --- a/drivers/power/reset/restart-poweroff.c +++ b/drivers/power/reset/restart-poweroff.c | |||
@@ -55,7 +55,6 @@ static struct platform_driver restart_poweroff_driver = { | |||
55 | .remove = restart_poweroff_remove, | 55 | .remove = restart_poweroff_remove, |
56 | .driver = { | 56 | .driver = { |
57 | .name = "poweroff-restart", | 57 | .name = "poweroff-restart", |
58 | .owner = THIS_MODULE, | ||
59 | .of_match_table = of_restart_poweroff_match, | 58 | .of_match_table = of_restart_poweroff_match, |
60 | }, | 59 | }, |
61 | }; | 60 | }; |