aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/pcm038.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2009-03-30 09:35:39 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2009-05-07 10:15:58 -0400
commitfde364742a1afec9e71e705e863d029295282fe5 (patch)
treefec36318fd215f44323db458940427c065bb0a22 /arch/arm/mach-mx2/pcm038.c
parent1341d34ffc296f98dc84876f35f3151525dc02a2 (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.c9
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
104static int uart_mxc_port0_exit(struct platform_device *pdev) 104static 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
111static int mxc_uart1_pins[] = { 110static 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
124static int uart_mxc_port1_exit(struct platform_device *pdev) 123static 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
131static int mxc_uart2_pins[] = { PE8_PF_UART3_TXD, 129static 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
142static int uart_mxc_port2_exit(struct platform_device *pdev) 140static 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
149static struct imxuart_platform_data uart_pdata[] = { 146static struct imxuart_platform_data uart_pdata[] = {