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

gpio: Replace direction_input() and direction_output()



The new update_flags() method is more flexible since it allows the
driver to see the full flags all at once. Use that in preference to these
two functions. Add comments to that effect.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>

Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent 7e0a96d5
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