Thermal-INT3406: Delete owner assignment
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 15 Aug 2016 09:22:40 +0000 (11:22 +0200)
committerZhang Rui <rui.zhang@intel.com>
Fri, 19 Aug 2016 13:32:48 +0000 (21:32 +0800)
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>
drivers/thermal/int340x_thermal/int3406_thermal.c

index a578cd257db4b57ef64751a2d85a5078355d5d1b..1891f34ab7fcd746405fb6f7b7696c36c54133f2 100644 (file)
@@ -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,
                   },
 };