Skip to content
Commit 7a8fd1f5 authored by Linus Walleij's avatar Linus Walleij
Browse files

gpio: ich: Use BIT() macro



Using BIT() makes (1 << foo) constructions easier to read, and
also account for common mistakes where bit 31 is not working
because of numbers being interpreted as negative unless
specified as unsigned.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 3f4290d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment