Skip to content
Commit 129fd223 authored by Kevin Hilman's avatar Kevin Hilman
Browse files

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: default avatarKevin Hilman <khilman@ti.com>
parent c390aad0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment