summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8998.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:29 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:29 +0200
commit6c794b2654555d6af7572e3a8f13b2b39126df0c (patch)
tree1bb823bc267c06a0f436f0320a687d8ccba30459 /drivers/regulator/max8998.c
parentpwm: drop owner assignment from platform_drivers (diff)
downloadlinux-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/max8998.c')
-rw-r--r--drivers/regulator/max8998.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c
index 961091b46557..9978d616125f 100644
--- a/drivers/regulator/max8998.c
+++ b/drivers/regulator/max8998.c
@@ -894,7 +894,6 @@ MODULE_DEVICE_TABLE(platform, max8998_pmic_id);
static struct platform_driver max8998_pmic_driver = {
.driver = {
.name = "max8998-pmic",
- .owner = THIS_MODULE,
},
.probe = max8998_pmic_probe,
.id_table = max8998_pmic_id,