aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2015-03-02 15:30:58 -0600
committerLinus Walleij <[email protected]>2015-03-09 14:41:12 +0100
commit1e970b7d6d4fb3d715a34842ec00646f4b94bd72 (patch)
tree72545b3bfd680ad2a00b7be78964cf174a780762 /include/linux
parentb90f8f22ed86f4f1a38dd2178c4be558c0c70fb9 (diff)
gpio: pxa: simplify BANK_OFF macro offset calculation
The macro BANK_OFF which calculates the base offset for each GPIO port. The macro is needlessly complex and unreadable. Simplify the calculation to a simple math operation. Signed-off-by: Rob Herring <[email protected]> Cc: [email protected] Reviewed-by: Alexandre Courbot <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions