diff options
author | 2013-01-07 14:04:56 +0100 | |
---|---|---|
committer | 2013-01-11 21:49:20 +0100 | |
commit | 50f690d85e4e26ca31082e9943d36b618e7566fe (patch) | |
tree | 6960253522d61e8685601e60e7a4f987306ad3b0 /drivers/base/dd.c | |
parent | pinctrl/nomadik: make independent of <mach/irqs.h> (diff) | |
download | linux-dev-50f690d85e4e26ca31082e9943d36b618e7566fe.tar.xz linux-dev-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 'drivers/base/dd.c')
0 files changed, 0 insertions, 0 deletions