commit | 758bba96d12411dbf1826d51946fdbc069cdaf92 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Mon Jan 13 11:35:01 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 16 23:06:54 2020 -0400 |
tree | abfe9fc2eb8900c72d449766a916cbe9e8171906 | |
parent | 054fbba91630cfe5bab1017b33b484207c0f9ff7 [diff] |
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: Simon Glass <sjg@chromium.org> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>