commit | 7a8fd1f5cc3fd0a8fd06634b9dc6750f8c5b2354 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Mar 06 08:56:06 2018 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Mar 19 01:50:29 2018 +0100 |
tree | 5943f76dd8c02afffa4f32fb4a50b6641325794e | |
parent | 3f4290d4dcf1cfdc242fc4d0874995c3aead72e9 [diff] |
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: Linus Walleij <linus.walleij@linaro.org>