summaryrefslogtreecommitdiffstats
path: root/drivers/power/reset/qnap-poweroff.c
diff options
context:
space:
mode:
authorWolfram Sang2014-10-20 16:21:28 +0200
committerWolfram Sang2014-10-20 16:21:28 +0200
commit5938ee2bb2e45bfd601896677eb5db3e21339689 (patch)
tree0ae23da43525035ba12edf3567e699279afecb1c /drivers/power/reset/qnap-poweroff.c
parentpower: drop owner assignment from platform_drivers (diff)
downloadkernel-qcow2-linux-5938ee2bb2e45bfd601896677eb5db3e21339689.tar.gz
kernel-qcow2-linux-5938ee2bb2e45bfd601896677eb5db3e21339689.tar.xz
kernel-qcow2-linux-5938ee2bb2e45bfd601896677eb5db3e21339689.zip
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/qnap-poweroff.c')
-rw-r--r--drivers/power/reset/qnap-poweroff.c1
1 files changed, 0 insertions, 1 deletions
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 = {
.probe = qnap_power_off_probe,
.remove = qnap_power_off_remove,
.driver = {
- .owner = THIS_MODULE,
.name = "qnap_power_off",
.of_match_table = of_match_ptr(qnap_power_off_of_match_table),
},