diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2016-03-06 12:20:12 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 09:26:55 -0700 |
commit | e31efceed2bf4a0a911bfe53d84098bec7085abe (patch) | |
tree | 3888fd0f70f6070e17d6c729f49411da8f2a60e8 /drivers/tty | |
parent | 736d553886a72274e58ff8a0e8a2899978042b8f (diff) | |
download | linux-stable-e31efceed2bf4a0a911bfe53d84098bec7085abe.tar.gz linux-stable-e31efceed2bf4a0a911bfe53d84098bec7085abe.tar.bz2 linux-stable-e31efceed2bf4a0a911bfe53d84098bec7085abe.zip |
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@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>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/mvebu-uart.c | 1 |
1 files changed, 0 insertions, 1 deletions
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), }, |