diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:45 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:45 -0400 |
commit | 9144b3cded04a05d4b4e18dc9dcfb5b8ada3f2fc (patch) | |
tree | 6c8755563d83523c6f8771bf7198cffa846365ea /drivers/tty/serial/sccnxp.c | |
parent | 3aa5fed2564fd7a18f6f6ab4fd1a50538ebb70e9 (diff) |
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/sccnxp.c')
-rw-r--r-- | drivers/tty/serial/sccnxp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c index 75850f70b479..fcf803ffad19 100644 --- a/drivers/tty/serial/sccnxp.c +++ b/drivers/tty/serial/sccnxp.c | |||
@@ -1012,7 +1012,6 @@ static int sccnxp_remove(struct platform_device *pdev) | |||
1012 | static struct platform_driver sccnxp_uart_driver = { | 1012 | static struct platform_driver sccnxp_uart_driver = { |
1013 | .driver = { | 1013 | .driver = { |
1014 | .name = SCCNXP_NAME, | 1014 | .name = SCCNXP_NAME, |
1015 | .owner = THIS_MODULE, | ||
1016 | }, | 1015 | }, |
1017 | .probe = sccnxp_probe, | 1016 | .probe = sccnxp_probe, |
1018 | .remove = sccnxp_remove, | 1017 | .remove = sccnxp_remove, |