diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 18:21:27 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 18:21:27 +0400 |
commit | 816c44c369019fd7a7ca460a120dc1dc0dca389e (patch) | |
tree | 4104765aac27673ffb7b37d383c56c07a17366a2 /drivers/power/jz4740-battery.c | |
parent | 3493f4144bfd2f11923670b45a8290c8c6499c92 (diff) | |
download | linux-816c44c369019fd7a7ca460a120dc1dc0dca389e.tar.xz |
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/jz4740-battery.c')
-rw-r--r-- | drivers/power/jz4740-battery.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/jz4740-battery.c b/drivers/power/jz4740-battery.c index 6c8931d4ad62..9cd391d61819 100644 --- a/drivers/power/jz4740-battery.c +++ b/drivers/power/jz4740-battery.c @@ -406,7 +406,6 @@ static struct platform_driver jz_battery_driver = { .remove = jz_battery_remove, .driver = { .name = "jz4740-battery", - .owner = THIS_MODULE, .pm = JZ_BATTERY_PM_OPS, }, }; |