summaryrefslogtreecommitdiff
path: root/drivers/power/gpio-charger.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:27 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:27 +0200
commit816c44c369019fd7a7ca460a120dc1dc0dca389e (patch)
tree4104765aac27673ffb7b37d383c56c07a17366a2 /drivers/power/gpio-charger.c
parent3493f4144bfd2f11923670b45a8290c8c6499c92 (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/gpio-charger.c')
-rw-r--r--drivers/power/gpio-charger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c
index 7536933d0ab9..3ee889fe0021 100644
--- a/drivers/power/gpio-charger.c
+++ b/drivers/power/gpio-charger.c
@@ -194,7 +194,6 @@ static struct platform_driver gpio_charger_driver = {
.remove = gpio_charger_remove,
.driver = {
.name = "gpio-charger",
- .owner = THIS_MODULE,
.pm = &gpio_charger_pm_ops,
},
};