diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 18:20:36 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 18:20:36 +0400 |
commit | 2a1ed077189a38bccf39cb00d8dca96d20a49463 (patch) | |
tree | eeb85e9ce2945b5d11d7b954fbcc3c5de4fb3a05 /drivers/hwmon/ultra45_env.c | |
parent | 53b72c17873ad3500c19c71dd3074a57604880eb (diff) | |
download | linux-2a1ed077189a38bccf39cb00d8dca96d20a49463.tar.xz |
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/ultra45_env.c')
-rw-r--r-- | drivers/hwmon/ultra45_env.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/ultra45_env.c b/drivers/hwmon/ultra45_env.c index 7d4658636064..f2816c7c918f 100644 --- a/drivers/hwmon/ultra45_env.c +++ b/drivers/hwmon/ultra45_env.c @@ -314,7 +314,6 @@ MODULE_DEVICE_TABLE(of, env_match); static struct platform_driver env_driver = { .driver = { .name = "ultra45_env", - .owner = THIS_MODULE, .of_match_table = env_match, }, .probe = env_probe, |