All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] staging: fsl-mc: remove .owner field for driver
@ 2016-09-15  2:27 Wei Yongjun
  2016-09-15 14:03 ` Stuart Yoder
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2016-09-15  2:27 UTC (permalink / raw)
  To: J . German Rivera, Stuart Yoder, Greg Kroah-Hartman,
	German Rivera, Itai Katz
  Cc: Wei Yongjun, linux-kernel, devel

From: Wei Yongjun <weiyongjun1@huawei.com>

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

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

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
 drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
index 2004fa7..1a35cfb 100644
--- a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
+++ b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
@@ -652,7 +652,6 @@ static const struct fsl_mc_device_id match_id_table[] = {
 static struct fsl_mc_driver fsl_mc_allocator_driver = {
 	.driver = {
 		   .name = "fsl_mc_allocator",
-		   .owner = THIS_MODULE,
 		   .pm = NULL,
 		   },
 	.match_id_table = match_id_table,

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

end of thread, other threads:[~2016-09-15 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-15  2:27 [PATCH -next] staging: fsl-mc: remove .owner field for driver Wei Yongjun
2016-09-15 14:03 ` Stuart Yoder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.