Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34120316 authored by Wu Fengguang's avatar Wu Fengguang Committed by Zhang Rui
Browse files

Thermal: fix platform_no_drv_owner.cocci warnings



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: default avatarFengguang Wu <fengguang.wu@intel.com>
Acked-by: default avatarZhang Rui <rui.zhang@intel.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent b81e5962
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,
	},
};