summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-08-15 11:22:40 +0200
committerZhang Rui <rui.zhang@intel.com>2016-08-19 21:32:48 +0800
commit57027db00d1094d0abd5776899b00ca55d42d37c (patch)
tree534d7ba0e81bd60eb68f0013186a336d0447ec09
parenta305a4387acb01cecadeeea5151c049a022a1bfc (diff)
downloadlinux-57027db00d1094d0abd5776899b00ca55d42d37c.tar.gz
linux-57027db00d1094d0abd5776899b00ca55d42d37c.tar.xz
Thermal-INT3406: Delete owner assignment
The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r--drivers/thermal/int340x_thermal/int3406_thermal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/int340x_thermal/int3406_thermal.c b/drivers/thermal/int340x_thermal/int3406_thermal.c
index a578cd257db4..1891f34ab7fc 100644
--- a/drivers/thermal/int340x_thermal/int3406_thermal.c
+++ b/drivers/thermal/int340x_thermal/int3406_thermal.c
@@ -225,7 +225,6 @@ static struct platform_driver int3406_thermal_driver = {
.remove = int3406_thermal_remove,
.driver = {
.name = "int3406 thermal",
- .owner = THIS_MODULE,
.acpi_match_table = int3406_thermal_match,
},
};