serial: mvebu-uart: fix platform_no_drv_owner.cocci warnings
authorJulia Lawall <julia.lawall@lip6.fr>
Sun, 6 Mar 2016 03:20:12 +0000 (12:20 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mvebu-uart.c

index 0ff27818bb87da5ec04f03a041ceb4254c5a9ca0..81008a97c136008877831711ce9829fb3f50520b 100644 (file)
@@ -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),
        },