commit | a03a0aa7e833ab6af62728d6c0591b7772ffa9a8 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Feb 04 21:21:59 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Mar 03 15:38:58 2021 -0500 |
tree | 9854b3341a735242646f32e3fce740d3e68827d9 | |
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>