mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
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: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
This commit is contained in:
parent
b81e5962af
commit
341203167f
1 changed files with 0 additions and 1 deletions
|
@ -470,7 +470,6 @@ static struct platform_driver int3403_driver = {
|
||||||
.remove = int3403_remove,
|
.remove = int3403_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "int3403 thermal",
|
.name = "int3403 thermal",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.acpi_match_table = int3403_device_ids,
|
.acpi_match_table = int3403_device_ids,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue