From: Julia Lawall Date: Sun, 6 Mar 2016 03:20:12 +0000 (+0900) Subject: serial: mvebu-uart: fix platform_no_drv_owner.cocci warnings X-Git-Tag: v4.14-rc1~3185^2~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e31efceed2bf4a0a911bfe53d84098bec7085abe;p=platform%2Fkernel%2Flinux-rpi.git 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), },