Skip to content
Snippets Groups Projects
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: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 37c10bf7
No related branches found
No related tags found
No related merge requests found
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