From: Javier Martinez Canillas Date: Sun, 6 Apr 2014 14:58:14 +0000 (+0200) Subject: gpio: omap: check gpiochip_add() return value X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~53^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ef7f385610a235c7041206da0f92f760b5d0e8d;p=pandora-kernel.git gpio: omap: check gpiochip_add() return value The gpiochip_add() function can fail if the chip cannot be registered so the return value has to be checked and the error propagated in case it happens. Signed-off-by: Javier Martinez Canillas Acked-by: Santosh Shilimkar Tested-by: Tony Lindgren Signed-off-by: Linus Walleij --- Reading git-diff-tree failed