diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:27 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:27 +0200 |
commit | 816c44c369019fd7a7ca460a120dc1dc0dca389e (patch) | |
tree | 4104765aac27673ffb7b37d383c56c07a17366a2 /drivers/power/max8998_charger.c | |
parent | 3493f4144bfd2f11923670b45a8290c8c6499c92 (diff) | |
download | op-kernel-dev-816c44c369019fd7a7ca460a120dc1dc0dca389e.zip op-kernel-dev-816c44c369019fd7a7ca460a120dc1dc0dca389e.tar.gz |
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/max8998_charger.c')
-rw-r--r-- | drivers/power/max8998_charger.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c index 5017470..08694c7 100644 --- a/drivers/power/max8998_charger.c +++ b/drivers/power/max8998_charger.c @@ -195,7 +195,6 @@ static const struct platform_device_id max8998_battery_id[] = { static struct platform_driver max8998_battery_driver = { .driver = { .name = "max8998-battery", - .owner = THIS_MODULE, }, .probe = max8998_battery_probe, .remove = max8998_battery_remove, |