commit | f3a049e784b337e9fa08f2f9046c955cc80af535 | [log] [tgz] |
---|---|---|
author | Zhouyang Jia <jiazhouyang09@gmail.com> | Tue Jun 12 11:28:52 2018 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Jun 18 07:55:30 2018 +0200 |
tree | 40af082f433818e4666e2c0d2e9ae405a109a35b | |
parent | eb3744a2dd01cb07ce9f556d56d6fe451f0c313a [diff] |
gpio: max732x: add error handling for i2c_new_dummy When i2c_new_dummy fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling i2c_new_dummy. Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>