summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Makefile
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>2014-04-06 16:58:14 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-04-28 12:35:08 -0700
commit6ef7f385610a235c7041206da0f92f760b5d0e8d (patch)
tree6a55811e7bf5dfb6e374a53ebb22d759e9b64aed /drivers/gpio/Makefile
parentcaebd9db7677166994570db69210cdaa3e30e1fb (diff)
downloadop-kernel-dev-6ef7f385610a235c7041206da0f92f760b5d0e8d.zip
op-kernel-dev-6ef7f385610a235c7041206da0f92f760b5d0e8d.tar.gz
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/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud