summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/wm831x-ldo.c
diff options
context:
space:
mode:
authorWolfram Sang2014-10-20 16:21:29 +0200
committerWolfram Sang2014-10-20 16:21:29 +0200
commit6c794b2654555d6af7572e3a8f13b2b39126df0c (patch)
tree1bb823bc267c06a0f436f0320a687d8ccba30459 /drivers/regulator/wm831x-ldo.c
parentpwm: drop owner assignment from platform_drivers (diff)
downloadkernel-qcow2-linux-6c794b2654555d6af7572e3a8f13b2b39126df0c.tar.gz
kernel-qcow2-linux-6c794b2654555d6af7572e3a8f13b2b39126df0c.tar.xz
kernel-qcow2-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/wm831x-ldo.c')
-rw-r--r--drivers/regulator/wm831x-ldo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/regulator/wm831x-ldo.c b/drivers/regulator/wm831x-ldo.c
index eca0eeb78acd..7ae2dc82f636 100644
--- a/drivers/regulator/wm831x-ldo.c
+++ b/drivers/regulator/wm831x-ldo.c
@@ -307,7 +307,6 @@ static struct platform_driver wm831x_gp_ldo_driver = {
.probe = wm831x_gp_ldo_probe,
.driver = {
.name = "wm831x-ldo",
- .owner = THIS_MODULE,
},
};
@@ -516,7 +515,6 @@ static struct platform_driver wm831x_aldo_driver = {
.probe = wm831x_aldo_probe,
.driver = {
.name = "wm831x-aldo",
- .owner = THIS_MODULE,
},
};
@@ -650,7 +648,6 @@ static struct platform_driver wm831x_alive_ldo_driver = {
.probe = wm831x_alive_ldo_probe,
.driver = {
.name = "wm831x-alive-ldo",
- .owner = THIS_MODULE,
},
};