diff options
Diffstat (limited to 'drivers/tty/serial/efm32-uart.c')
-rw-r--r-- | drivers/tty/serial/efm32-uart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/efm32-uart.c b/drivers/tty/serial/efm32-uart.c index 615e46470491..a8cbb2670521 100644 --- a/drivers/tty/serial/efm32-uart.c +++ b/drivers/tty/serial/efm32-uart.c | |||
@@ -690,7 +690,7 @@ static int efm32_uart_probe_dt(struct platform_device *pdev, | |||
690 | 690 | ||
691 | } | 691 | } |
692 | 692 | ||
693 | static int __devinit efm32_uart_probe(struct platform_device *pdev) | 693 | static int efm32_uart_probe(struct platform_device *pdev) |
694 | { | 694 | { |
695 | struct efm32_uart_port *efm_port; | 695 | struct efm32_uart_port *efm_port; |
696 | struct resource *res; | 696 | struct resource *res; |
@@ -764,7 +764,7 @@ err_get_base: | |||
764 | return ret; | 764 | return ret; |
765 | } | 765 | } |
766 | 766 | ||
767 | static int __devexit efm32_uart_remove(struct platform_device *pdev) | 767 | static int efm32_uart_remove(struct platform_device *pdev) |
768 | { | 768 | { |
769 | struct efm32_uart_port *efm_port = platform_get_drvdata(pdev); | 769 | struct efm32_uart_port *efm_port = platform_get_drvdata(pdev); |
770 | 770 | ||
@@ -791,7 +791,7 @@ MODULE_DEVICE_TABLE(of, efm32_uart_dt_ids); | |||
791 | 791 | ||
792 | static struct platform_driver efm32_uart_driver = { | 792 | static struct platform_driver efm32_uart_driver = { |
793 | .probe = efm32_uart_probe, | 793 | .probe = efm32_uart_probe, |
794 | .remove = __devexit_p(efm32_uart_remove), | 794 | .remove = efm32_uart_remove, |
795 | 795 | ||
796 | .driver = { | 796 | .driver = { |
797 | .name = DRIVER_NAME, | 797 | .name = DRIVER_NAME, |