diff options
author | Kevin Hilman <khilman@ti.com> | 2011-04-22 18:59:07 +0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-06-16 22:13:32 +0400 |
commit | 129fd2230733ff0457e76d6aabde136cf8666bc0 (patch) | |
tree | d2f1d90f4629e93cd02d17211eb2643962bdad8f /drivers/gpio/gpio-nomadik.c | |
parent | c390aad0330f330ce9818ef5269169bbae335da9 (diff) | |
download | linux-129fd2230733ff0457e76d6aabde136cf8666bc0.tar.xz |
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/gpio/gpio-nomadik.c')
0 files changed, 0 insertions, 0 deletions