aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/regulator/s5m8767.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/s5m8767.c
parentpwm: drop owner assignment from platform_drivers (diff)
downloadwireguard-linux-6c794b2654555d6af7572e3a8f13b2b39126df0c.tar.xz
wireguard-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/s5m8767.c')
-rw-r--r--drivers/regulator/s5m8767.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c
index 0ab5cbeeb797..684bd9ff9e02 100644
--- a/drivers/regulator/s5m8767.c
+++ b/drivers/regulator/s5m8767.c
@@ -986,7 +986,6 @@ MODULE_DEVICE_TABLE(platform, s5m8767_pmic_id);
static struct platform_driver s5m8767_pmic_driver = {
.driver = {
.name = "s5m8767-pmic",
- .owner = THIS_MODULE,
},
.probe = s5m8767_pmic_probe,
.id_table = s5m8767_pmic_id,