ARRAY_SIZE(mxc_uart0_pins), "UART0");
}
-static int uart_mxc_port0_exit(struct platform_device *pdev)
+static void uart_mxc_port0_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart0_pins,
ARRAY_SIZE(mxc_uart0_pins));
- return 0;
}
static int mxc_uart1_pins[] = {
ARRAY_SIZE(mxc_uart1_pins), "UART1");
}
-static int uart_mxc_port1_exit(struct platform_device *pdev)
+static void uart_mxc_port1_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart1_pins,
ARRAY_SIZE(mxc_uart1_pins));
- return 0;
}
static int mxc_uart2_pins[] = {
ARRAY_SIZE(mxc_uart2_pins), "UART2");
}
-static int uart_mxc_port2_exit(struct platform_device *pdev)
+static void uart_mxc_port2_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart2_pins,
ARRAY_SIZE(mxc_uart2_pins));
- return 0;
}
static int mxc_uart3_pins[] = {
ARRAY_SIZE(mxc_uart3_pins), "UART3");
}
-static int uart_mxc_port3_exit(struct platform_device *pdev)
+static void uart_mxc_port3_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart3_pins,
ARRAY_SIZE(mxc_uart3_pins));
- return 0;
}
static int mxc_uart4_pins[] = {
ARRAY_SIZE(mxc_uart4_pins), "UART4");
}
-static int uart_mxc_port4_exit(struct platform_device *pdev)
+static void uart_mxc_port4_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart4_pins,
ARRAY_SIZE(mxc_uart4_pins));
- return 0;
}
static int mxc_uart5_pins[] = {
ARRAY_SIZE(mxc_uart5_pins), "UART5");
}
-static int uart_mxc_port5_exit(struct platform_device *pdev)
+static void uart_mxc_port5_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart5_pins,
ARRAY_SIZE(mxc_uart5_pins));
- return 0;
}
static struct platform_device *platform_devices[] __initdata = {
ARRAY_SIZE(mxc_uart0_pins), "UART0");
}
-static int uart_mxc_port0_exit(struct platform_device *pdev)
+static void uart_mxc_port0_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart0_pins,
ARRAY_SIZE(mxc_uart0_pins));
- return 0;
}
static int mxc_uart1_pins[] = {
ARRAY_SIZE(mxc_uart1_pins), "UART1");
}
-static int uart_mxc_port1_exit(struct platform_device *pdev)
+static void uart_mxc_port1_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart1_pins,
ARRAY_SIZE(mxc_uart1_pins));
- return 0;
}
static int mxc_uart2_pins[] = { PE8_PF_UART3_TXD,
ARRAY_SIZE(mxc_uart2_pins), "UART2");
}
-static int uart_mxc_port2_exit(struct platform_device *pdev)
+static void uart_mxc_port2_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart2_pins,
ARRAY_SIZE(mxc_uart2_pins));
- return 0;
}
static struct imxuart_platform_data uart_pdata[] = {