From: Markus Elfring Date: Mon, 15 Aug 2016 09:22:40 +0000 (+0200) Subject: Thermal-INT3406: Delete owner assignment X-Git-Tag: v5.15~12980^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57027db00d1094d0abd5776899b00ca55d42d37c;p=platform%2Fkernel%2Flinux-starfive.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 a578cd2..1891f34 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, }, };