diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-01-07 14:04:56 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-01-11 21:49:20 +0100 |
commit | 50f690d85e4e26ca31082e9943d36b618e7566fe (patch) | |
tree | 6960253522d61e8685601e60e7a4f987306ad3b0 /arch/arm/mach-ux500/cpu-db8500.c | |
parent | pinctrl/nomadik: make independent of <mach/irqs.h> (diff) | |
download | linux-50f690d85e4e26ca31082e9943d36b618e7566fe.tar.xz linux-50f690d85e4e26ca31082e9943d36b618e7566fe.zip |
pinctrl/nomadik: simplify GPIO probe
Instead of jumping to a label later in the probe just return
with an error code whenever probe() fails. Make sure to remove
the gpiochip on irqdomain error now that we're at it.
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/cpu-db8500.c')
0 files changed, 0 insertions, 0 deletions