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/intel_mid_battery.c | |
parent | 3493f4144bfd2f11923670b45a8290c8c6499c92 (diff) | |
download | linux-stable-816c44c369019fd7a7ca460a120dc1dc0dca389e.tar.gz linux-stable-816c44c369019fd7a7ca460a120dc1dc0dca389e.tar.bz2 linux-stable-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/intel_mid_battery.c')
-rw-r--r-- | drivers/power/intel_mid_battery.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c index 4520811168ad..de3f39e6fa8e 100644 --- a/drivers/power/intel_mid_battery.c +++ b/drivers/power/intel_mid_battery.c @@ -773,7 +773,6 @@ static int platform_pmic_battery_remove(struct platform_device *pdev) static struct platform_driver platform_pmic_battery_driver = { .driver = { .name = DRIVER_NAME, - .owner = THIS_MODULE, }, .probe = platform_pmic_battery_probe, .remove = platform_pmic_battery_remove, |