From e31efceed2bf4a0a911bfe53d84098bec7085abe Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sun, 6 Mar 2016 12:20:12 +0900 Subject: 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 diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index 0ff2781..81008a9 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), }, -- cgit v0.10.2