Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment