]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
gpio: f7188x: use BIT() macro
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 9 Apr 2016 13:59:41 +0000 (15:59 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 14 Apr 2016 12:03:26 +0000 (14:03 +0200)
commit148c864260dad94dd037d342679cd62f664a9b21
treea99a23255b007f9debfab0a0630c133c62dbe08c
parent04b8695617fe6efeba5ca20e8be3a5c1879fd74a
gpio: f7188x: use BIT() macro

Align to how we handle bitmasks in most drivers in the
subsystem: using the BIT(n) macro over (1 << n).

Cc: Peter Hung <hpeter@gmail.com>
Cc: Andreas Bofjall <andreas@gazonk.org>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-f7188x.c