Linux Serial subsystem development
 help / color / mirror / Atom feed
* [PATCH v2] serial: mvebu-uart: fix platform_no_drv_owner.cocci warnings
@ 2016-03-06  3:20 Julia Lawall
  0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2016-03-06  3:20 UTC (permalink / raw)
  To: Wilson Ding
  Cc: kbuild-all, linux-serial, Greg Kroah-Hartman, Nadav Haklai,
	Gregory CLEMENT, Jiri Slaby, linux-kernel

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

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

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

v2: No change to patch, correct misspelled email

 mvebu-uart.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/tty/serial/mvebu-uart.c
+++ b/drivers/tty/serial/mvebu-uart.c
@@ -615,7 +615,6 @@ static struct platform_driver mvebu_uart
 	.probe	= mvebu_uart_probe,
 	.remove	= mvebu_uart_remove,
 	.driver	= {
-		.owner	= THIS_MODULE,
 		.name  = "mvebu-uart",
 		.of_match_table = of_match_ptr(mvebu_uart_of_match),
 	},

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

only message in thread, other threads:[~2016-03-06  3:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-06  3:20 [PATCH v2] serial: mvebu-uart: 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