Skip to content
Commit 080795b7 authored by Roger Quadros's avatar Roger Quadros Committed by Tom Rini
Browse files

ARM: OMAP5+: GPIO: Add GPIO_TO_PIN() macro



GPIO_TO_PIN(bank, bank_gpio) returns the GPIO index
from the GPIO bank number and bank's GPIO offset number.

Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 30719e2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment