diff options
author | Samuel Holland <samuel@sholland.org> | 2021-09-11 17:05:53 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-05 08:50:15 -0400 |
commit | 8a47982ed8d40595a83b82b2298753873e597708 (patch) | |
tree | a886c25653f2e6176773729cf2ed7a92d439b151 /lib/string.c | |
parent | 37c10bf7ef22ccaa349581984340a616fb1c6ffb (diff) |
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: Samuel Holland <samuel@sholland.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions