summaryrefslogtreecommitdiff
path: root/drivers/regulator/fixed.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:29 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:29 +0400
commit6c794b2654555d6af7572e3a8f13b2b39126df0c (patch)
tree1bb823bc267c06a0f436f0320a687d8ccba30459 /drivers/regulator/fixed.c
parentf05fae14a10ca0c07f176e680ef9ff9d348e7153 (diff)
downloadlinux-6c794b2654555d6af7572e3a8f13b2b39126df0c.tar.xz
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/fixed.c')
-rw-r--r--drivers/regulator/fixed.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c
index 354105eff1f8..47e9043a3a4f 100644
--- a/drivers/regulator/fixed.c
+++ b/drivers/regulator/fixed.c
@@ -207,7 +207,6 @@ static struct platform_driver regulator_fixed_voltage_driver = {
.probe = reg_fixed_voltage_probe,
.driver = {
.name = "reg-fixed-voltage",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(fixed_of_match),
},
};