From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> platform_driver does not need to set an owner as it will be populated by the driver core. The semantic patch that makes this change is available in scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> --- drivers/tty/serial/amba-pl011.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 2af09ab..4b7a2bd 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2760,7 +2760,6 @@ MODULE_DEVICE_TABLE(of, zx_uart_dt_ids); static struct platform_driver zx_uart_driver = { .driver = { .name = "zx-uart", - .owner = THIS_MODULE, .pm = &pl011_dev_pm_ops, .of_match_table = zx_uart_dt_ids, }, -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html