From 6ef7f385610a235c7041206da0f92f760b5d0e8d Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Sun, 6 Apr 2014 16:58:14 +0200 Subject: [PATCH] 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-format-patch failed