commit | f57f98a6c0f4f3cb4d2ec9f9566b8e3f21843f03 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Fri Dec 06 13:36:11 2013 -0700 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Dec 11 13:37:48 2013 +0100 |
tree | 35b36d8fcdcf6a685def44d251f67bc3631a56cb | |
parent | 7bb3ed21f9506126bd590b8bf0676bad5bfa6336 [diff] |
gpio: tegra: add missing error handling to probe The call to gpiochip_add() is not currently error-checked. Add the missing checking. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>