diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:29 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:29 +0200 |
commit | 6c794b2654555d6af7572e3a8f13b2b39126df0c (patch) | |
tree | 1bb823bc267c06a0f436f0320a687d8ccba30459 /drivers/regulator/gpio-regulator.c | |
parent | pwm: drop owner assignment from platform_drivers (diff) | |
download | linux-6c794b2654555d6af7572e3a8f13b2b39126df0c.tar.xz linux-6c794b2654555d6af7572e3a8f13b2b39126df0c.zip |
regulator: 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/regulator/gpio-regulator.c')
-rw-r--r-- | drivers/regulator/gpio-regulator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index 989b23b377c0..17fa02554c3d 100644 --- a/drivers/regulator/gpio-regulator.c +++ b/drivers/regulator/gpio-regulator.c @@ -388,7 +388,6 @@ static struct platform_driver gpio_regulator_driver = { .remove = gpio_regulator_remove, .driver = { .name = "gpio-regulator", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(regulator_gpio_of_match), }, }; |