diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 18:21:28 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 18:21:28 +0400 |
commit | 5938ee2bb2e45bfd601896677eb5db3e21339689 (patch) | |
tree | 0ae23da43525035ba12edf3567e699279afecb1c /drivers/power/reset/gpio-poweroff.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-poweroff.c')
-rw-r--r-- | drivers/power/reset/gpio-poweroff.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 = { .remove = gpio_poweroff_remove, .driver = { .name = "poweroff-gpio", - .owner = THIS_MODULE, .of_match_table = of_gpio_poweroff_match, }, }; |