imx: Return gpio_set_value in gpio_direction_output
authorVikram Narayanan <vikram186@gmail.com>
Tue, 10 Apr 2012 04:26:30 +0000 (04:26 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 16 Apr 2012 12:53:59 +0000 (14:53 +0200)
commitd71c9c9fc09babfdbcbf672ada763c97772839fc
tree10acc2afa1a11e90ce6c396e06f5fa4a0771c966
parentbe282554627edbffea7d313242466b5f95dfda5a
imx: Return gpio_set_value in gpio_direction_output

Return gpio_set_value in gpio_direction_output.
Earlier it returned 0 and ignored gpio_set_value's return value.

Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
drivers/gpio/mxc_gpio.c