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/max8907-regulator.c | |
parent | f05fae14a10ca0c07f176e680ef9ff9d348e7153 (diff) | |
download | op-kernel-dev-6c794b2654555d6af7572e3a8f13b2b39126df0c.zip op-kernel-dev-6c794b2654555d6af7572e3a8f13b2b39126df0c.tar.gz |
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/max8907-regulator.c')
-rw-r--r-- | drivers/regulator/max8907-regulator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max8907-regulator.c b/drivers/regulator/max8907-regulator.c index 3426be8..5e941db 100644 --- a/drivers/regulator/max8907-regulator.c +++ b/drivers/regulator/max8907-regulator.c @@ -366,7 +366,6 @@ static int max8907_regulator_probe(struct platform_device *pdev) static struct platform_driver max8907_regulator_driver = { .driver = { .name = "max8907-regulator", - .owner = THIS_MODULE, }, .probe = max8907_regulator_probe, }; |