commit | 78de5d5220322456f2568de23bc2e97bba3957e3 | [log] [tgz] |
---|---|---|
author | Nicholas Krause <xerofoify@gmail.com> | Tue Aug 18 09:55:44 2015 -0400 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Aug 26 13:34:55 2015 +0200 |
tree | 4c0779ff49b16a6ba80a3dcb38f1c47d35f92073 | |
parent | 5d9452e7c52a106c9efdeb6c72fc73b184a6543f [diff] |
gpio: max732x: Fix error handling in probe() This fixes error handling in the function max732x_probe by checking if the calls to the function max732x_readb fail by returning a error code. Signed-off-by: Nicholas Krause <xerofoify@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>