diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-04-13 12:20:24 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-05-16 14:35:24 +0200 |
commit | a4e5db831a1bff9ca8e987519537c27930154041 (patch) | |
tree | 05b9d2f6406071a860d2e8e81cb5039791a0c655 /drivers/gpio/gpio-max730x.c | |
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>
Diffstat (limited to 'drivers/gpio/gpio-max730x.c')
0 files changed, 0 insertions, 0 deletions