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/lm78.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/lm78.c')
-rw-r--r-- | drivers/hwmon/lm78.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c index 759661c7d480..539efe4ad991 100644 --- a/drivers/hwmon/lm78.c +++ b/drivers/hwmon/lm78.c | |||
@@ -836,7 +836,6 @@ static int lm78_isa_probe(struct platform_device *pdev) | |||
836 | 836 | ||
837 | static struct platform_driver lm78_isa_driver = { | 837 | static struct platform_driver lm78_isa_driver = { |
838 | .driver = { | 838 | .driver = { |
839 | .owner = THIS_MODULE, | ||
840 | .name = "lm78", | 839 | .name = "lm78", |
841 | }, | 840 | }, |
842 | .probe = lm78_isa_probe, | 841 | .probe = lm78_isa_probe, |