Skip to content
Commit 9f2b066c authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

gpio: add gpio descriptor initialization helper



Add a helper function gpio_desc_init() to initialize the gpio descriptor;
with this function the flags will be always set to 0.

It wasn't the case before this patch in dm_gpio_lookup_name.

Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent e3f3a121
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment