summaryrefslogtreecommitdiffstats
path: root/drivers/power/max8997_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/max8997_charger.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/max8997_charger.c')
-rw-r--r--drivers/power/max8997_charger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c
index 4bdedfed936d..aefa0c9a3007 100644
--- a/drivers/power/max8997_charger.c
+++ b/drivers/power/max8997_charger.c
@@ -181,7 +181,6 @@ static const struct platform_device_id max8997_battery_id[] = {
static struct platform_driver max8997_battery_driver = {
.driver = {
.name = "max8997-battery",
- .owner = THIS_MODULE,
},
.probe = max8997_battery_probe,
.remove = max8997_battery_remove,