diff options
author | Simon Glass <sjg@chromium.org> | 2021-02-04 21:21:59 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-03 15:38:58 -0500 |
commit | a03a0aa7e833ab6af62728d6c0591b7772ffa9a8 (patch) | |
tree | 9854b3341a735242646f32e3fce740d3e68827d9 /drivers/gpio/gpio-uclass.c | |
parent | c0c1e62c6e47ffccca953c57df4624d685493584 (diff) |
gpio: sandbox: Rename GPIO dir_flags to flags
Adjust the terminology in this driver to reflect that fact that all flags
are handled, not just direction flags.
Create a new access function to get the full GPIO state, not just the
direction flags. Drop the static invalid_dir_flags since we can rely on a
segfault if something is wrong.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'drivers/gpio/gpio-uclass.c')
0 files changed, 0 insertions, 0 deletions