[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20211006044453.5472-1-songkai01@inspur.com>
Date: Wed, 6 Oct 2021 12:44:53 +0800
From: Kai Song <songkai01@...pur.com>
To: <s.shravan@...el.com>, <linuxwwan@...el.com>,
<hdegoede@...hat.com>, <markgross@...nel.org>
CC: <platform-driver-x86@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Kai Song <songkai01@...pur.com>
Subject: [PATCH] platform/x86/intel/int1092: Remove redundant .owner
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@...pur.com>
---
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
Powered by blists - more mailing lists