gpio: add helper GPIOD_FLAGS_OUTPUT
Add a macro to provide the GPIO output value according the dir flags content. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录