summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/via-cputemp.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/via-cputemp.c
parent53b72c17873ad3500c19c71dd3074a57604880eb (diff)
downloadop-kernel-dev-2a1ed077189a38bccf39cb00d8dca96d20a49463.zip
op-kernel-dev-2a1ed077189a38bccf39cb00d8dca96d20a49463.tar.gz
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/via-cputemp.c')
-rw-r--r--drivers/hwmon/via-cputemp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/via-cputemp.c b/drivers/hwmon/via-cputemp.c
index 8df43c5..ac91c07 100644
--- a/drivers/hwmon/via-cputemp.c
+++ b/drivers/hwmon/via-cputemp.c
@@ -205,7 +205,6 @@ static int via_cputemp_remove(struct platform_device *pdev)
static struct platform_driver via_cputemp_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = DRVNAME,
},
.probe = via_cputemp_probe,
OpenPOWER on IntegriCloud