diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-03-06 08:56:06 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-19 01:50:29 +0100 |
commit | 7a8fd1f5cc3fd0a8fd06634b9dc6750f8c5b2354 (patch) | |
tree | 5943f76dd8c02afffa4f32fb4a50b6641325794e /Documentation/i2c/upgrading-clients | |
parent | 3f4290d4dcf1cfdc242fc4d0874995c3aead72e9 (diff) | |
download | talos-op-linux-7a8fd1f5cc3fd0a8fd06634b9dc6750f8c5b2354.tar.gz talos-op-linux-7a8fd1f5cc3fd0a8fd06634b9dc6750f8c5b2354.zip |
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>
Diffstat (limited to 'Documentation/i2c/upgrading-clients')
0 files changed, 0 insertions, 0 deletions