[PATCH] platform/x86/intel/int1092: Remove redundant .owner

From: Kai Song
Date: Wed Oct 06 2021 - 00:45:05 EST


Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Kai Song <songkai01@xxxxxxxxxx>
---
drivers/platform/x86/intel/int1092/intel_sar.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/platform/x86/intel/int1092/intel_sar.c b/drivers/platform/x86/intel/int1092/intel_sar.c
index 379560fe5df9..95f74b4cf03e 100644
--- a/drivers/platform/x86/intel/int1092/intel_sar.c
+++ b/drivers/platform/x86/intel/int1092/intel_sar.c
@@ -305,7 +305,6 @@ static struct platform_driver sar_driver = {
.remove = sar_remove,
.driver = {
.name = DRVNAME,
- .owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(sar_device_ids)
}
};
--
2.27.0