commit | 6ef7f385610a235c7041206da0f92f760b5d0e8d | [log] [tgz] |
---|---|---|
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | Sun Apr 06 16:58:14 2014 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Apr 28 12:35:08 2014 -0700 |
tree | 6a55811e7bf5dfb6e374a53ebb22d759e9b64aed | |
parent | caebd9db7677166994570db69210cdaa3e30e1fb [diff] |
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 <javier.martinez@collabora.co.uk> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>