summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-03-06 10:56:06 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-03-19 03:50:29 +0300
commit7a8fd1f5cc3fd0a8fd06634b9dc6750f8c5b2354 (patch)
tree5943f76dd8c02afffa4f32fb4a50b6641325794e /net/lapb/lapb_timer.c
parent3f4290d4dcf1cfdc242fc4d0874995c3aead72e9 (diff)
downloadlinux-7a8fd1f5cc3fd0a8fd06634b9dc6750f8c5b2354.tar.xz
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions