commit | a4e5db831a1bff9ca8e987519537c27930154041 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Fri Apr 13 12:20:24 2018 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed May 16 14:35:24 2018 +0200 |
tree | 05b9d2f6406071a860d2e8e81cb5039791a0c655 | |
parent | 70e703e7410c40b99499b214567c1b6c324e26c6 [diff] |
gpio: loongson: Use BIT() macros This switches the Loongson driver over to using the bitops BIT() macros and drops some local variables and make the code easier to read (in my opinion). Cc: Keguang Zhang <keguang.zhang@gmail.com> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: Huacai Chen <chenhc@lemote.com> Cc: linux-mips@linux-mips.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>