commit | 5e81e0a0913c609ce18709a0a4c8fb54344aaca1 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Thu Apr 28 14:31:32 2016 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Apr 28 14:34:41 2016 +0200 |
tree | 4eabde90b1f0bfa32bf8404918d906e477e7cd0a | |
parent | 71324fdc72ef0163e57631aa814a9a81e9e4770b [diff] |
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>