Explorar o código

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>
Markus Elfring %!s(int64=9) %!d(string=hai) anos
pai
achega
57027db00d
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      drivers/thermal/int340x_thermal/int3406_thermal.c

+ 0 - 1
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,
 		   },
 };