summaryrefslogtreecommitdiffstats
path: root/drivers/amba
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2011-04-22 07:59:07 -0700
committerKevin Hilman <khilman@ti.com>2011-06-16 11:13:32 -0700
commit129fd2230733ff0457e76d6aabde136cf8666bc0 (patch)
treed2f1d90f4629e93cd02d17211eb2643962bdad8f /drivers/amba
parentc390aad0330f330ce9818ef5269169bbae335da9 (diff)
gpio/omap: replace get_gpio_index() by using bank width
The get_gpio_index() function, littered with cpu_is_* checks can be easily replaced by using bitops based on the GPIO bank width. Do so. Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions