Skip to content

Commit

Permalink
Thermal-INT3406: Delete owner assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Markus Elfring authored and Zhang Rui committed Aug 19, 2016
1 parent a305a43 commit 57027db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/thermal/int340x_thermal/int3406_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};
Expand Down

0 comments on commit 57027db

Please sign in to comment.