diff options
author | Wolfram Sang | 2014-10-20 16:21:27 +0200 |
---|---|---|
committer | Wolfram Sang | 2014-10-20 16:21:27 +0200 |
commit | 816c44c369019fd7a7ca460a120dc1dc0dca389e (patch) | |
tree | 4104765aac27673ffb7b37d383c56c07a17366a2 /drivers/power/wm97xx_battery.c | |
parent | 3493f4144bfd2f11923670b45a8290c8c6499c92 (diff) |
power: 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/wm97xx_battery.c')
-rw-r--r-- | drivers/power/wm97xx_battery.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/wm97xx_battery.c b/drivers/power/wm97xx_battery.c index 58f7348e6c22..a8e6203673ad 100644 --- a/drivers/power/wm97xx_battery.c +++ b/drivers/power/wm97xx_battery.c @@ -281,7 +281,6 @@ static int wm97xx_bat_remove(struct platform_device *dev) static struct platform_driver wm97xx_bat_driver = { .driver = { .name = "wm97xx-battery", - .owner = THIS_MODULE, #ifdef CONFIG_PM .pm = &wm97xx_bat_pm_ops, #endif |