Commit e31efcee authored by Julia Lawall's avatar Julia Lawall Committed by Greg Kroah-Hartman

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 736d5538
...@@ -615,7 +615,6 @@ static struct platform_driver mvebu_uart_platform_driver = { ...@@ -615,7 +615,6 @@ static struct platform_driver mvebu_uart_platform_driver = {
.probe = mvebu_uart_probe, .probe = mvebu_uart_probe,
.remove = mvebu_uart_remove, .remove = mvebu_uart_remove,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "mvebu-uart", .name = "mvebu-uart",
.of_match_table = of_match_ptr(mvebu_uart_of_match), .of_match_table = of_match_ptr(mvebu_uart_of_match),
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment