gpio: sch311x: Slightly refactor sch311x_detect for better readability
authorAxel Lin <axel.lin@ingics.com>
Tue, 15 Apr 2014 02:15:27 +0000 (10:15 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Apr 2014 19:35:09 +0000 (12:35 -0700)
commit7e9fcc9d62626c752e38d5eeb78687d006fc24cf
treec8f52d668e46d26145cacc2a52def7f1c72b1118
parentf604cf0919b806bdedef5f53dd1f43796166997c
gpio: sch311x: Slightly refactor sch311x_detect for better readability

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sch311x.c