From e31efceed2bf4a0a911bfe53d84098bec7085abe Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sun, 6 Mar 2016 12:20:12 +0900 Subject: [PATCH] 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 Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/mvebu-uart.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index 0ff27818bb87..81008a97c136 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -615,7 +615,6 @@ static struct platform_driver mvebu_uart_platform_driver = { .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), }, -- 2.20.1