# \[PATCH v2\] serial: mvebu-uart: fix platform\_no\_drv\_owner.cocci warnings

- From: Julia Lawall \<hidden\>
- Date: 2016-03-06 03:20:24 
- List: linux-serial
- Page: https://ratatoskr.run/linux-serial/2016/03/4702293
- Thread: https://ratatoskr.run/linux-serial/2016/03/4702293/t.md

```text
No need to set .owner here. The core will do it.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Wilson Ding <redacted>
Signed-off-by: Fengguang Wu <redacted>
Signed-off-by: Julia Lawall <redacted>
---

v2: No change to patch, correct misspelled email

 mvebu-uart.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/tty/serial/mvebu-uart.c
+++ b/drivers/tty/serial/mvebu-uart.c
@@ -615,7 +615,6 @@ static struct platform_driver mvebu_uart
 	.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),
 	},
```
