summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/ucc_uart.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:45 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:45 +0400
commit9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc (patch)
tree6c8755563d83523c6f8771bf7198cffa846365ea /drivers/tty/serial/ucc_uart.c
parent3aa5fed2564fd7a18f6f6ab4fd1a50538ebb70e9 (diff)
downloadlinux-9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc.tar.xz
tty: serial: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/tty/serial/ucc_uart.c')
-rw-r--r--drivers/tty/serial/ucc_uart.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c
index c107a0f0e72f..14d10fcfd210 100644
--- a/drivers/tty/serial/ucc_uart.c
+++ b/drivers/tty/serial/ucc_uart.c
@@ -1485,7 +1485,6 @@ MODULE_DEVICE_TABLE(of, ucc_uart_match);
static struct platform_driver ucc_uart_of_driver = {
.driver = {
.name = "ucc_uart",
- .owner = THIS_MODULE,
.of_match_table = ucc_uart_match,
},
.probe = ucc_uart_probe,