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/atmel_serial.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/atmel_serial.c')
-rw-r--r-- | drivers/tty/serial/atmel_serial.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index edde3eca055d..9075c6622af5 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c | |||
@@ -2660,7 +2660,6 @@ static struct platform_driver atmel_serial_driver = { | |||
2660 | .resume = atmel_serial_resume, | 2660 | .resume = atmel_serial_resume, |
2661 | .driver = { | 2661 | .driver = { |
2662 | .name = "atmel_usart", | 2662 | .name = "atmel_usart", |
2663 | .owner = THIS_MODULE, | ||
2664 | .of_match_table = of_match_ptr(atmel_serial_dt_ids), | 2663 | .of_match_table = of_match_ptr(atmel_serial_dt_ids), |
2665 | }, | 2664 | }, |
2666 | }; | 2665 | }; |