diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2014-11-17 14:24:36 +0800 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-12-09 11:31:20 +0800 |
commit | 341203167f9138073853cecd1f02d180bf9924ca (patch) | |
tree | 249b00b08576abd96be748f4af911948503d7523 /drivers/thermal | |
parent | b81e5962af2c9453167d7be2efc46f42c42f63d2 (diff) | |
download | linux-341203167f9138073853cecd1f02d180bf9924ca.tar.gz linux-341203167f9138073853cecd1f02d180bf9924ca.tar.bz2 linux-341203167f9138073853cecd1f02d180bf9924ca.zip |
Thermal: fix platform_no_drv_owner.cocci warnings
drivers/thermal/int340x_thermal/int3403_thermal.c:468:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/int340x_thermal/int3403_thermal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/int340x_thermal/int3403_thermal.c b/drivers/thermal/int340x_thermal/int3403_thermal.c index 790b8f6da731..1bfa6a69e77a 100644 --- a/drivers/thermal/int340x_thermal/int3403_thermal.c +++ b/drivers/thermal/int340x_thermal/int3403_thermal.c @@ -470,7 +470,6 @@ static struct platform_driver int3403_driver = { .remove = int3403_remove, .driver = { .name = "int3403 thermal", - .owner = THIS_MODULE, .acpi_match_table = int3403_device_ids, }, }; |