summaryrefslogtreecommitdiff
path: root/drivers/power/reset/restart-poweroff.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:28 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:28 +0400
commit5938ee2bb2e45bfd601896677eb5db3e21339689 (patch)
tree0ae23da43525035ba12edf3567e699279afecb1c /drivers/power/reset/restart-poweroff.c
parent816c44c369019fd7a7ca460a120dc1dc0dca389e (diff)
downloadlinux-5938ee2bb2e45bfd601896677eb5db3e21339689.tar.xz
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/restart-poweroff.c')
-rw-r--r--drivers/power/reset/restart-poweroff.c1
1 files changed, 0 insertions, 1 deletions
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 = {
.remove = restart_poweroff_remove,
.driver = {
.name = "poweroff-restart",
- .owner = THIS_MODULE,
.of_match_table = of_restart_poweroff_match,
},
};