summaryrefslogtreecommitdiffstats
path: root/drivers/power/generic-adc-battery.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/generic-adc-battery.c
parentplatform: x86: drop owner assignment from platform_drivers (diff)
downloadlinux-816c44c369019fd7a7ca460a120dc1dc0dca389e.tar.xz
linux-816c44c369019fd7a7ca460a120dc1dc0dca389e.zip
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/generic-adc-battery.c')
-rw-r--r--drivers/power/generic-adc-battery.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/generic-adc-battery.c b/drivers/power/generic-adc-battery.c
index 59a1421f9288..d72733e4f93a 100644
--- a/drivers/power/generic-adc-battery.c
+++ b/drivers/power/generic-adc-battery.c
@@ -414,7 +414,6 @@ static const struct dev_pm_ops gab_pm_ops = {
static struct platform_driver gab_driver = {
.driver = {
.name = "generic-adc-battery",
- .owner = THIS_MODULE,
.pm = GAB_PM_OPS
},
.probe = gab_probe,