diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:21:50 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 18:22:52 -0500 |
commit | 9671f09921d93e722a28ae9610d478e092ac5466 (patch) | |
tree | 3d2c5c8014d703b89061fd02e5362bf81a48a1f9 /drivers/tty/serial/atmel_serial.c | |
parent | 2d47b7160243b1422006b91debf438484a4fde58 (diff) |
tty: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Lucas Tavares <lucaskt@linux.vnet.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Tony Prisk <linux@prisktech.co.nz>
Acked-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/atmel_serial.c')
-rw-r--r-- | drivers/tty/serial/atmel_serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index 27eae4b2355a..02540cbf16a6 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c | |||
@@ -1423,7 +1423,7 @@ static struct uart_ops atmel_pops = { | |||
1423 | #endif | 1423 | #endif |
1424 | }; | 1424 | }; |
1425 | 1425 | ||
1426 | static void __devinit atmel_of_init_port(struct atmel_uart_port *atmel_port, | 1426 | static void atmel_of_init_port(struct atmel_uart_port *atmel_port, |
1427 | struct device_node *np) | 1427 | struct device_node *np) |
1428 | { | 1428 | { |
1429 | u32 rs485_delay[2]; | 1429 | u32 rs485_delay[2]; |
@@ -1458,7 +1458,7 @@ static void __devinit atmel_of_init_port(struct atmel_uart_port *atmel_port, | |||
1458 | /* | 1458 | /* |
1459 | * Configure the port from the platform device resource info. | 1459 | * Configure the port from the platform device resource info. |
1460 | */ | 1460 | */ |
1461 | static void __devinit atmel_init_port(struct atmel_uart_port *atmel_port, | 1461 | static void atmel_init_port(struct atmel_uart_port *atmel_port, |
1462 | struct platform_device *pdev) | 1462 | struct platform_device *pdev) |
1463 | { | 1463 | { |
1464 | struct uart_port *port = &atmel_port->uart; | 1464 | struct uart_port *port = &atmel_port->uart; |
@@ -1766,7 +1766,7 @@ static int atmel_serial_resume(struct platform_device *pdev) | |||
1766 | #define atmel_serial_resume NULL | 1766 | #define atmel_serial_resume NULL |
1767 | #endif | 1767 | #endif |
1768 | 1768 | ||
1769 | static int __devinit atmel_serial_probe(struct platform_device *pdev) | 1769 | static int atmel_serial_probe(struct platform_device *pdev) |
1770 | { | 1770 | { |
1771 | struct atmel_uart_port *port; | 1771 | struct atmel_uart_port *port; |
1772 | struct device_node *np = pdev->dev.of_node; | 1772 | struct device_node *np = pdev->dev.of_node; |