commit | afe8ce9b29c487ea7f62faa936b6abb84e0b8815 | [log] [tgz] |
---|---|---|
author | Rohit Vaswani <rvaswani@codeaurora.org> | Thu Jul 18 13:07:14 2013 -0700 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sat Jul 20 23:33:33 2013 +0200 |
tree | b721a42706f544aac2f290b7e4ef05a83da5128e | |
parent | 949eb1a4d29dc75e0b5b16b03747886b52ecf854 [diff] |
drivers: gpio: msm: Fix the error condition for reading ngpio of_property_read_u32 return 0 on success. The check was using a ! to return error. Fix the if condition. Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Pankaj Jangra <jangra.pankaj9@gmail.com> Cc: "Bird, Tim" <Tim.Bird@sonymobile.com> Signed-off-by: David Brown <davidb@codeaurora.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>