From: Jean Delvare Date: Wed, 6 Mar 2013 22:35:53 +0000 (+0000) Subject: i2c: mux: gpio: Check gpio_direction_output return value X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~62^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fafae669a623b003d9d40b75ab31bb9625d5c38;p=pandora-kernel.git i2c: mux: gpio: Check gpio_direction_output return value gpio_direction_output() may fail, check for that and deal with it appropriately. Also log an error message if gpio_request() fails. Signed-off-by: Jean Delvare Acked-by: Peter Korsgaard Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed