浏览代码

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>
Julia Lawall 9 年之前
父节点
当前提交
e31efceed2
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/tty/serial/mvebu-uart.c

+ 0 - 1
drivers/tty/serial/mvebu-uart.c

@@ -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),
 	},
 	},