summaryrefslogtreecommitdiffstats
path: root/drivers/power/bq27x00_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/bq27x00_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/bq27x00_battery.c')
-rw-r--r--drivers/power/bq27x00_battery.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
index e3bacfe3bcd0..a78ac201828e 100644
--- a/drivers/power/bq27x00_battery.c
+++ b/drivers/power/bq27x00_battery.c
@@ -1014,7 +1014,6 @@ static struct platform_driver bq27000_battery_driver = {
.remove = bq27000_battery_remove,
.driver = {
.name = "bq27000-battery",
- .owner = THIS_MODULE,
},
};