diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2009-03-30 09:35:39 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-05-07 10:15:58 -0400 |
commit | fde364742a1afec9e71e705e863d029295282fe5 (patch) | |
tree | fec36318fd215f44323db458940427c065bb0a22 /arch/arm/mach-mx2/pcm038.c | |
parent | 1341d34ffc296f98dc84876f35f3151525dc02a2 (diff) |
imx: exit functions can/should be void
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/pcm038.c')
-rw-r--r-- | arch/arm/mach-mx2/pcm038.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-mx2/pcm038.c b/arch/arm/mach-mx2/pcm038.c index 732937ca2c9f..7f3a62e2cfcc 100644 --- a/arch/arm/mach-mx2/pcm038.c +++ b/arch/arm/mach-mx2/pcm038.c | |||
@@ -101,11 +101,10 @@ static int uart_mxc_port0_init(struct platform_device *pdev) | |||
101 | ARRAY_SIZE(mxc_uart0_pins), "UART0"); | 101 | ARRAY_SIZE(mxc_uart0_pins), "UART0"); |
102 | } | 102 | } |
103 | 103 | ||
104 | static int uart_mxc_port0_exit(struct platform_device *pdev) | 104 | static void uart_mxc_port0_exit(struct platform_device *pdev) |
105 | { | 105 | { |
106 | mxc_gpio_release_multiple_pins(mxc_uart0_pins, | 106 | mxc_gpio_release_multiple_pins(mxc_uart0_pins, |
107 | ARRAY_SIZE(mxc_uart0_pins)); | 107 | ARRAY_SIZE(mxc_uart0_pins)); |
108 | return 0; | ||
109 | } | 108 | } |
110 | 109 | ||
111 | static int mxc_uart1_pins[] = { | 110 | static int mxc_uart1_pins[] = { |
@@ -121,11 +120,10 @@ static int uart_mxc_port1_init(struct platform_device *pdev) | |||
121 | ARRAY_SIZE(mxc_uart1_pins), "UART1"); | 120 | ARRAY_SIZE(mxc_uart1_pins), "UART1"); |
122 | } | 121 | } |
123 | 122 | ||
124 | static int uart_mxc_port1_exit(struct platform_device *pdev) | 123 | static void uart_mxc_port1_exit(struct platform_device *pdev) |
125 | { | 124 | { |
126 | mxc_gpio_release_multiple_pins(mxc_uart1_pins, | 125 | mxc_gpio_release_multiple_pins(mxc_uart1_pins, |
127 | ARRAY_SIZE(mxc_uart1_pins)); | 126 | ARRAY_SIZE(mxc_uart1_pins)); |
128 | return 0; | ||
129 | } | 127 | } |
130 | 128 | ||
131 | static int mxc_uart2_pins[] = { PE8_PF_UART3_TXD, | 129 | static int mxc_uart2_pins[] = { PE8_PF_UART3_TXD, |
@@ -139,11 +137,10 @@ static int uart_mxc_port2_init(struct platform_device *pdev) | |||
139 | ARRAY_SIZE(mxc_uart2_pins), "UART2"); | 137 | ARRAY_SIZE(mxc_uart2_pins), "UART2"); |
140 | } | 138 | } |
141 | 139 | ||
142 | static int uart_mxc_port2_exit(struct platform_device *pdev) | 140 | static void uart_mxc_port2_exit(struct platform_device *pdev) |
143 | { | 141 | { |
144 | mxc_gpio_release_multiple_pins(mxc_uart2_pins, | 142 | mxc_gpio_release_multiple_pins(mxc_uart2_pins, |
145 | ARRAY_SIZE(mxc_uart2_pins)); | 143 | ARRAY_SIZE(mxc_uart2_pins)); |
146 | return 0; | ||
147 | } | 144 | } |
148 | 145 | ||
149 | static struct imxuart_platform_data uart_pdata[] = { | 146 | static struct imxuart_platform_data uart_pdata[] = { |