summaryrefslogtreecommitdiff
path: root/drivers/gpio/mxc_gpio.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-01-13 11:35:01 +0100
committerTom Rini <trini@konsulko.com>2020-04-16 23:06:54 -0400
commit9f2b066cda3dd0b4bf583c40610eba347f2c03cd (patch)
treeabfe9fc2eb8900c72d449766a916cbe9e8171906 /drivers/gpio/mxc_gpio.c
parente3f3a121d8ebe15da868be8afbfb3e2a9ff80d4d (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>
Diffstat (limited to 'drivers/gpio/mxc_gpio.c')
0 files changed, 0 insertions, 0 deletions