summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/jz4740-hwmon.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:36 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:36 +0200
commit2a1ed077189a38bccf39cb00d8dca96d20a49463 (patch)
treeeeb85e9ce2945b5d11d7b954fbcc3c5de4fb3a05 /drivers/hwmon/jz4740-hwmon.c
parenthsi: controllers: drop owner assignment from platform_drivers (diff)
downloadlinux-2a1ed077189a38bccf39cb00d8dca96d20a49463.tar.xz
linux-2a1ed077189a38bccf39cb00d8dca96d20a49463.zip
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/jz4740-hwmon.c')
-rw-r--r--drivers/hwmon/jz4740-hwmon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/jz4740-hwmon.c b/drivers/hwmon/jz4740-hwmon.c
index 7488e36809c8..df9b3447f2a8 100644
--- a/drivers/hwmon/jz4740-hwmon.c
+++ b/drivers/hwmon/jz4740-hwmon.c
@@ -172,7 +172,6 @@ static struct platform_driver jz4740_hwmon_driver = {
.remove = jz4740_hwmon_remove,
.driver = {
.name = "jz4740-hwmon",
- .owner = THIS_MODULE,
},
};