summaryrefslogtreecommitdiff
path: root/drivers/hwmon/twl4030-madc-hwmon.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:36 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:36 +0400
commit2a1ed077189a38bccf39cb00d8dca96d20a49463 (patch)
treeeeb85e9ce2945b5d11d7b954fbcc3c5de4fb3a05 /drivers/hwmon/twl4030-madc-hwmon.c
parent53b72c17873ad3500c19c71dd3074a57604880eb (diff)
downloadlinux-2a1ed077189a38bccf39cb00d8dca96d20a49463.tar.xz
hwmon: 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/hwmon/twl4030-madc-hwmon.c')
-rw-r--r--drivers/hwmon/twl4030-madc-hwmon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/twl4030-madc-hwmon.c b/drivers/hwmon/twl4030-madc-hwmon.c
index 9a0e2b8e8b94..b5caf7fdb487 100644
--- a/drivers/hwmon/twl4030-madc-hwmon.c
+++ b/drivers/hwmon/twl4030-madc-hwmon.c
@@ -107,7 +107,6 @@ static struct platform_driver twl4030_madc_hwmon_driver = {
.probe = twl4030_madc_hwmon_probe,
.driver = {
.name = "twl4030_madc_hwmon",
- .owner = THIS_MODULE,
},
};