Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH] hwmon: fix platform_no_drv_owner.cocci warnings
@ 2016-10-07  5:43 Julia Lawall
  0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2016-10-07  5:43 UTC (permalink / raw)
  To: Chris Packham
  Cc: kbuild-all, Jean Delvare, Guenter Roeck, linux-hwmon,
	linux-kernel

No need to set .owner here. The core will do it.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

tree:   https://github.com/0day-ci/linux
Chris-Packham/hwmon-Add-tc654-driver/20161007-054116
head:   7b9f81e69fbc7077c55136daefe7546cf88925ae
commit: 7b9f81e69fbc7077c55136daefe7546cf88925ae [1/1] hwmon: Add tc654
driver

 tc654.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/hwmon/tc654.c
+++ b/drivers/hwmon/tc654.c
@@ -517,7 +517,6 @@ MODULE_DEVICE_TABLE(i2c, tc654_id);
 static struct i2c_driver tc654_driver = {
 	.driver = {
 		   .name = "tc654",
-		   .owner = THIS_MODULE,
 		   .of_match_table = of_match_ptr(tc654_dt_match),
 		   },
 	.probe = tc654_probe,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-07  5:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-07  5:43 [PATCH] hwmon: fix platform_no_drv_owner.cocci warnings Julia Lawall

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