aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/max197.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:36 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:36 -0400
commit2a1ed077189a38bccf39cb00d8dca96d20a49463 (patch)
treeeeb85e9ce2945b5d11d7b954fbcc3c5de4fb3a05 /drivers/hwmon/max197.c
parent53b72c17873ad3500c19c71dd3074a57604880eb (diff)
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/max197.c')
-rw-r--r--drivers/hwmon/max197.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/max197.c b/drivers/hwmon/max197.c
index 82128ad79a91..cb0dcfda958c 100644
--- a/drivers/hwmon/max197.c
+++ b/drivers/hwmon/max197.c
@@ -334,7 +334,6 @@ MODULE_DEVICE_TABLE(platform, max197_device_ids);
334static struct platform_driver max197_driver = { 334static struct platform_driver max197_driver = {
335 .driver = { 335 .driver = {
336 .name = "max197", 336 .name = "max197",
337 .owner = THIS_MODULE,
338 }, 337 },
339 .probe = max197_probe, 338 .probe = max197_probe,
340 .remove = max197_remove, 339 .remove = max197_remove,