aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-palmas.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-04-28 14:31:32 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-04-28 14:34:41 +0200
commit5e81e0a0913c609ce18709a0a4c8fb54344aaca1 (patch)
tree4eabde90b1f0bfa32bf8404918d906e477e7cd0a /drivers/pinctrl/pinctrl-palmas.c
parent71324fdc72ef0163e57631aa814a9a81e9e4770b (diff)
downloadlinux-5e81e0a0913c609ce18709a0a4c8fb54344aaca1.tar.gz
pinctrl: nomadik: use BIT() with offsets consequently
This driver is confusing in referencing/dereferencing the global GPIO number scope in some places and using local offsets in other places. Remove some of the confusion by removing local "bit" and "bitmask" definitions and just use BIT(offset) directly. Also unexport a function only used in this file. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-palmas.c')
0 files changed, 0 insertions, 0 deletions