From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikram Narayanan Date: Wed, 04 Apr 2012 21:37:09 +0530 Subject: [U-Boot] [PATCH 3/3] imx: Return gpio_set_value in gpio_direction_output Message-ID: <4F7C71AD.50900@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de imx: Return gpio_set_value in gpio_direction_output Signed-off-by: Vikram Narayanan --- drivers/gpio/mxc_gpio.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) 100.0% drivers/gpio/ diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index c4ef001..147c2c9 100644 --- a/drivers/gpio/mxc_gpio.c +++ b/drivers/gpio/mxc_gpio.c @@ -144,6 +144,5 @@ int gpio_direction_output(unsigned gpio, int value) if (ret < 0) return ret; - gpio_set_value(gpio, value); - return 0; + return gpio_set_value(gpio, value); } -- 1.7.4.1