commit | 8e10c7169116b4653272eebfafd541c8ca21017a | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sat Sep 11 17:05:53 2021 -0500 |
committer | Tom Rini <trini@konsulko.com> | Tue Oct 05 08:50:15 2021 -0400 |
tree | a886c25653f2e6176773729cf2ed7a92d439b151 | |
parent | 78acb924dd968b1374dc88d084d682e7fe1100ac [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>