commit | 129fd2230733ff0457e76d6aabde136cf8666bc0 | [log] [tgz] |
---|---|---|
author | Kevin Hilman <khilman@ti.com> | Fri Apr 22 07:59:07 2011 -0700 |
committer | Kevin Hilman <khilman@ti.com> | Thu Jun 16 11:13:32 2011 -0700 |
tree | d2f1d90f4629e93cd02d17211eb2643962bdad8f | |
parent | c390aad0330f330ce9818ef5269169bbae335da9 [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>