linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: adc: fix platform_no_drv_owner.cocci warnings
       [not found] <201501070002.RUPsFw0V%fengguang.wu@intel.com>
@ 2015-01-06 16:38 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-01-06 16:38 UTC (permalink / raw)
  To: Phani Movva
  Cc: kbuild-all, Ezequiel Garcia, Naidu Tellapati, Jonathan Cameron,
	Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald, linux-iio,
	linux-kernel

drivers/iio/adc/cc10001_adc.c:414:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

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

CC: Phani Movva <Phani.Movva@imgtec.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/iio/adc/cc10001_adc.c
+++ b/drivers/iio/adc/cc10001_adc.c
@@ -411,7 +411,6 @@ MODULE_DEVICE_TABLE(of, cc10001_adc_dt_i
 static struct platform_driver cc10001_adc_driver = {
 	.driver = {
 		.name   = "cc10001-adc",
-		.owner	= THIS_MODULE,
 		.of_match_table = cc10001_adc_dt_ids,
 	},
 	.probe	= cc10001_adc_probe,

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

* [PATCH] iio:adc: fix platform_no_drv_owner.cocci warnings
  2015-10-05  6:14 ` H. Nikolaus Schaller
@ 2015-10-05  6:54   ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-10-05  6:54 UTC (permalink / raw)
  To: H. Nikolaus Schaller
  Cc: kbuild-all, Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell,
	Kumar Gala, Benoît Cousson, Tony Lindgren, Russell King,
	Marek Belisko, Pradeep Goudagunta, H. Nikolaus Schaller,
	Laxman Dewangan, gg, jic23, devicetree, linux-kernel, linux-omap,
	linux-iio, Grazvydas Ignotas

drivers/iio/adc/palmas_gpadc.c:798:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

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

CC: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/iio/adc/palmas_gpadc.c
+++ b/drivers/iio/adc/palmas_gpadc.c
@@ -795,7 +795,6 @@ static struct platform_driver palmas_gpa
 	.remove = palmas_gpadc_remove,
 	.driver = {
 		.name = MOD_NAME,
-		.owner = THIS_MODULE,
 		.pm = &palmas_pm_ops,
 	},
 };

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

end of thread, other threads:[~2015-10-05  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201501070002.RUPsFw0V%fengguang.wu@intel.com>
2015-01-06 16:38 ` [PATCH] iio: adc: fix platform_no_drv_owner.cocci warnings kbuild test robot
2015-10-05  6:54 [PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc kbuild test robot
2015-10-05  6:14 ` H. Nikolaus Schaller
2015-10-05  6:54   ` [PATCH] iio:adc: fix platform_no_drv_owner.cocci warnings kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).