commit | acf06ff76cb94dd98ba1fa74e63a8ee578673a83 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Fri Aug 12 01:21:58 2016 +0900 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Aug 19 10:55:08 2016 +0200 |
tree | 3f17ce87d972e3f8d7f3b76f16e42941dca2f4d0 | |
parent | 05cc995f4d44c2b14a1f15f3271cc9715cb81099 [diff] |
gpio: refactor gpiochip_find() slightly The if...else... block after the loop can be dropped with a slight refactoring. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>