diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:21:28 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:21:28 (GMT) |
commit | 5938ee2bb2e45bfd601896677eb5db3e21339689 (patch) | |
tree | 0ae23da43525035ba12edf3567e699279afecb1c /drivers/power/reset/gpio-restart.c | |
parent | 816c44c369019fd7a7ca460a120dc1dc0dca389e (diff) | |
download | linux-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/gpio-restart.c')
-rw-r--r-- | drivers/power/reset/gpio-restart.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/reset/gpio-restart.c b/drivers/power/reset/gpio-restart.c index a76829b..edb327e 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 = { .remove = gpio_restart_remove, .driver = { .name = "restart-gpio", - .owner = THIS_MODULE, .of_match_table = of_gpio_restart_match, }, }; |