[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250407092632.2952200-1-nichen@iscas.ac.cn>
Date: Mon, 7 Apr 2025 17:26:32 +0800
From: Chen Ni <nichen@...as.ac.cn>
To: dpenkler@...il.com,
gregkh@...uxfoundation.org,
matchstick@...erthere.org,
arnd@...db.de,
dominik.karol.piatkowski@...tonmail.com,
nathan@...nel.org,
niharchaithanya@...il.com
Cc: linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Chen Ni <nichen@...as.ac.cn>
Subject: [PATCH] staging: gpib: fmh_gpib: Remove unnecessary .owner assignment
Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Chen Ni <nichen@...as.ac.cn>
---
drivers/staging/gpib/fmh_gpib/fmh_gpib.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/gpib/fmh_gpib/fmh_gpib.c b/drivers/staging/gpib/fmh_gpib/fmh_gpib.c
index 53f4b3fccc3c..12d9e83e3156 100644
--- a/drivers/staging/gpib/fmh_gpib/fmh_gpib.c
+++ b/drivers/staging/gpib/fmh_gpib/fmh_gpib.c
@@ -1631,7 +1631,6 @@ MODULE_DEVICE_TABLE(of, fmh_gpib_of_match);
static struct platform_driver fmh_gpib_platform_driver = {
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.of_match_table = fmh_gpib_of_match,
},
.probe = &fmh_gpib_platform_probe
--
2.25.1
Powered by blists - more mailing lists