diff options
author | 2014-10-20 16:21:29 +0200 | |
---|---|---|
committer | 2014-10-20 16:21:29 +0200 | |
commit | 6c794b2654555d6af7572e3a8f13b2b39126df0c (patch) | |
tree | 1bb823bc267c06a0f436f0320a687d8ccba30459 /drivers/regulator/pbias-regulator.c | |
parent | pwm: drop owner assignment from platform_drivers (diff) | |
download | linux-6c794b2654555d6af7572e3a8f13b2b39126df0c.tar.gz linux-6c794b2654555d6af7572e3a8f13b2b39126df0c.tar.bz2 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/pbias-regulator.c')
-rw-r--r-- | drivers/regulator/pbias-regulator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/pbias-regulator.c b/drivers/regulator/pbias-regulator.c index 6d02d68dfb46..bd2b75c0d1d1 100644 --- a/drivers/regulator/pbias-regulator.c +++ b/drivers/regulator/pbias-regulator.c @@ -185,7 +185,6 @@ static struct platform_driver pbias_regulator_driver = { .probe = pbias_regulator_probe, .driver = { .name = "pbias-regulator", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(pbias_of_match), }, }; |