diff options
| author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-01-13 11:35:01 +0100 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2020-04-16 23:06:54 -0400 |
| commit | 9f2b066cda3dd0b4bf583c40610eba347f2c03cd (patch) | |
| tree | abfe9fc2eb8900c72d449766a916cbe9e8171906 /include/linux/linux_string.h | |
| parent | e3f3a121d8ebe15da868be8afbfb3e2a9ff80d4d (diff) | |
| download | u-boot-9f2b066cda3dd0b4bf583c40610eba347f2c03cd.tar.gz u-boot-9f2b066cda3dd0b4bf583c40610eba347f2c03cd.tar.xz u-boot-9f2b066cda3dd0b4bf583c40610eba347f2c03cd.zip | |
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>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
