mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] hwmon-SCPI: Delete unnecessary assignment for the field "owner"
@ 2016-08-16 13:32 SF Markus Elfring
  2016-08-16 13:51 ` Sudeep Holla
  2016-08-19  2:56 ` Guenter Roeck
  0 siblings, 2 replies; 3+ messages in thread
From: SF Markus Elfring @ 2016-08-16 13:32 UTC (permalink / raw)
  To: linux-hwmon, Günter Röck, Jean Delvare, Punit Agrawal
  Cc: LKML, kernel-janitors, Julia Lawall, Sudeep Holla

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 16 Aug 2016 15:17:13 +0200

The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 drivers/hwmon/scpi-hwmon.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/hwmon/scpi-hwmon.c b/drivers/hwmon/scpi-hwmon.c
index 25b44e6..559a3dc 100644
--- a/drivers/hwmon/scpi-hwmon.c
+++ b/drivers/hwmon/scpi-hwmon.c
@@ -255,7 +255,6 @@ static const struct of_device_id scpi_of_match[] = {
 static struct platform_driver scpi_hwmon_platdrv = {
 	.driver = {
 		.name	= "scpi-hwmon",
-		.owner	= THIS_MODULE,
 		.of_match_table = scpi_of_match,
 	},
 	.probe		= scpi_hwmon_probe,
-- 
2.9.2

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-19  2:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-16 13:32 [PATCH] hwmon-SCPI: Delete unnecessary assignment for the field "owner" SF Markus Elfring
2016-08-16 13:51 ` Sudeep Holla
2016-08-19  2:56 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®