commit | 9f2b066cda3dd0b4bf583c40610eba347f2c03cd | [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 | e3f3a121d8ebe15da868be8afbfb3e2a9ff80d4d [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>