aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2014-11-17 14:24:36 +0800
committerKevin Hilman <khilman@linaro.org>2015-06-05 15:42:32 -0700
commit53ba2f5a87650f61f28337269e692ea250d8b0ae (patch)
treed3070c170bcdbe7a462f155ff0555c34dcc31237
parenta4c323b81a485f5341bb730ac96a9f3bb1f69941 (diff)
downloadlinux-linaro-stable-53ba2f5a87650f61f28337269e692ea250d8b0ae.tar.gz
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> (cherry picked from commit 341203167f9138073853cecd1f02d180bf9924ca) Signed-off-by: Kevin Hilman <khilman@linaro.org>
-rw-r--r--drivers/thermal/int340x_thermal/int3403_thermal.c1
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 6e9fb62eb817..76910d35eecb 100644
--- a/drivers/thermal/int340x_thermal/int3403_thermal.c
+++ b/drivers/thermal/int340x_thermal/int3403_thermal.c
@@ -471,7 +471,6 @@ static struct platform_driver int3403_driver = {
.remove = int3403_remove,
.driver = {
.name = "int3403 thermal",
- .owner = THIS_MODULE,
.acpi_match_table = int3403_device_ids,
},
};