Skip to content
Commit a03a0aa7 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent c0c1e62c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment