diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:36 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:36 -0400 |
commit | 2a1ed077189a38bccf39cb00d8dca96d20a49463 (patch) | |
tree | eeb85e9ce2945b5d11d7b954fbcc3c5de4fb3a05 /drivers/hwmon/ntc_thermistor.c | |
parent | 53b72c17873ad3500c19c71dd3074a57604880eb (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/ntc_thermistor.c')
-rw-r--r-- | drivers/hwmon/ntc_thermistor.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/ntc_thermistor.c b/drivers/hwmon/ntc_thermistor.c index 4ff89b2482e4..fd9a945fe8db 100644 --- a/drivers/hwmon/ntc_thermistor.c +++ b/drivers/hwmon/ntc_thermistor.c | |||
@@ -609,7 +609,6 @@ static int ntc_thermistor_remove(struct platform_device *pdev) | |||
609 | static struct platform_driver ntc_thermistor_driver = { | 609 | static struct platform_driver ntc_thermistor_driver = { |
610 | .driver = { | 610 | .driver = { |
611 | .name = "ntc-thermistor", | 611 | .name = "ntc-thermistor", |
612 | .owner = THIS_MODULE, | ||
613 | .of_match_table = of_match_ptr(ntc_match), | 612 | .of_match_table = of_match_ptr(ntc_match), |
614 | }, | 613 | }, |
615 | .probe = ntc_thermistor_probe, | 614 | .probe = ntc_thermistor_probe, |