diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-04-28 14:31:32 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-28 14:34:41 +0200 |
commit | 5e81e0a0913c609ce18709a0a4c8fb54344aaca1 (patch) | |
tree | 4eabde90b1f0bfa32bf8404918d906e477e7cd0a /drivers/pinctrl/vt8500/pinctrl-wmt.h | |
parent | 71324fdc72ef0163e57631aa814a9a81e9e4770b (diff) | |
download | linux-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/vt8500/pinctrl-wmt.h')
0 files changed, 0 insertions, 0 deletions