From: Markus Elfring Date: Mon, 15 Aug 2016 09:22:40 +0000 (+0200) Subject: Thermal-INT3406: Delete owner assignment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57027db00d1094d0abd5776899b00ca55d42d37c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Zhang Rui --- 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, }, };