Skip to content
Commit 5e81e0a0 authored by Linus Walleij's avatar Linus Walleij
Browse files

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: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 71324fdc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment