diff options
author | Javier Martinez Canillas | 2014-04-06 16:58:14 +0200 |
---|---|---|
committer | Linus Walleij | 2014-04-28 12:35:08 -0700 |
commit | 6ef7f385610a235c7041206da0f92f760b5d0e8d (patch) | |
tree | 6a55811e7bf5dfb6e374a53ebb22d759e9b64aed /drivers/gpio/gpio-rcar.c | |
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>
Diffstat (limited to 'drivers/gpio/gpio-rcar.c')
0 files changed, 0 insertions, 0 deletions