Skip to content
Commit 8a47982e authored by Samuel Holland's avatar Samuel Holland Committed by Tom Rini
Browse files

gpio: Factor out DT flag translation



The generic GPIO flags binding is shared across many drivers, some of
which need their own xlate function. Factor out the flag translation
code from gpio_xlate_offs_flags so it does not need to be duplicated.

Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 37c10bf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment