diff options
author | 2018-03-06 08:56:06 +0100 | |
---|---|---|
committer | 2018-03-19 01:50:29 +0100 | |
commit | 7a8fd1f5cc3fd0a8fd06634b9dc6750f8c5b2354 (patch) | |
tree | 5943f76dd8c02afffa4f32fb4a50b6641325794e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: ich: Include the right header (diff) | |
download | linux-dev-7a8fd1f5cc3fd0a8fd06634b9dc6750f8c5b2354.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions