Skip to content
Commit f57f98a6 authored by Stephen Warren's avatar Stephen Warren Committed by Linus Walleij
Browse files

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: default avatarStephen Warren <swarren@nvidia.com>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
Reviewed-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7bb3ed21
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment