gpio: add function check_dir_flags
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 13 Jan 2020 10:35:04 +0000 (11:35 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 17 Apr 2020 03:06:54 +0000 (23:06 -0400)
commit4292fb16bff1af883b98517b73ea8f7cbfee948f
treef1c98a3170ad6e2d938b53e528d1fb31e020df28
parent788ea834124bd6169ea10b2d37d5de48a2dd28a0
gpio: add function check_dir_flags

Add a dir flags validity check with a new function
check_dir_flags.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/gpio-uclass.c