LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] platform/chrome: fix platform_no_drv_owner.cocci warnings
       [not found] <201502270955.VOEyl0rd%fengguang.wu@intel.com>
@ 2015-02-27  1:09 ` kbuild test robot
  2015-03-04 19:25   ` Olof Johansson
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-02-27  1:09 UTC (permalink / raw)
  To: Bill Richardson
  Cc: kbuild-all, Olof Johansson, Javier Martinez Canillas, linux-kernel

drivers/platform/chrome/cros_ec_lpc.c:272: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: Bill Richardson <wfrichar@chromium.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/platform/chrome/cros_ec_lpc.c
+++ b/drivers/platform/chrome/cros_ec_lpc.c
@@ -269,7 +269,6 @@ MODULE_DEVICE_TABLE(dmi, cros_ec_lpc_dmi
 static struct platform_driver cros_ec_lpc_driver = {
 	.driver = {
 		.name = DRV_NAME,
-		.owner = THIS_MODULE,
 	},
 	.probe = cros_ec_lpc_probe,
 	.remove = cros_ec_lpc_remove,

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

* Re: [PATCH] platform/chrome: fix platform_no_drv_owner.cocci warnings
  2015-02-27  1:09 ` [PATCH] platform/chrome: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2015-03-04 19:25   ` Olof Johansson
  0 siblings, 0 replies; 2+ messages in thread
From: Olof Johansson @ 2015-03-04 19:25 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Bill Richardson, kbuild-all, Javier Martinez Canillas, linux-kernel

On Fri, Feb 27, 2015 at 09:09:01AM +0800, kbuild test robot wrote:
> drivers/platform/chrome/cros_ec_lpc.c:272: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: Bill Richardson <wfrichar@chromium.org>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Thanks, applied.


-Olof

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

end of thread, other threads:[~2015-03-04 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201502270955.VOEyl0rd%fengguang.wu@intel.com>
2015-02-27  1:09 ` [PATCH] platform/chrome: fix platform_no_drv_owner.cocci warnings kbuild test robot
2015-03-04 19:25   ` Olof Johansson

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).