Skip to content

Commit

Permalink
Thermal: fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
drivers/thermal/int340x_thermal/int3403_thermal.c:468:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
  • Loading branch information
Wu Fengguang authored and Zhang Rui committed Dec 9, 2014
1 parent b81e596 commit 3412031
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/thermal/int340x_thermal/int3403_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,6 @@ static struct platform_driver int3403_driver = {
.remove = int3403_remove,
.driver = {
.name = "int3403 thermal",
.owner = THIS_MODULE,
.acpi_match_table = int3403_device_ids,
},
};
Expand Down

0 comments on commit 3412031

Please sign in to comment.