[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1603061218250.18395@hadrien>
Date:	Sun, 6 Mar 2016 12:20:12 +0900 (JST)
From:	Julia Lawall <julia.lawall@...6.fr>
To:	Wilson Ding <dingwei@...vell.com>
cc:	kbuild-all@...org, linux-serial@...r.kernel.org,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Nadav Haklai <nadavh@...vell.com>,
	Gregory CLEMENT <gregory.clement@...e-electrons.com>,
	Jiri Slaby <jslaby@...e.com>, linux-kernel@...r.kernel.org
Subject: [PATCH v2] serial: mvebu-uart: fix platform_no_drv_owner.cocci
 warnings
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@...vell.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
Signed-off-by: Julia Lawall <julia.lawall@...6.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),
 	},
Powered by blists - more mailing lists
 
