]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: Rename dm_gpio_get_dir_flags() to dm_gpio_get_flags()
authorSimon Glass <sjg@chromium.org>
Fri, 5 Feb 2021 04:21:57 +0000 (21:21 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 3 Mar 2021 19:51:06 +0000 (14:51 -0500)
commitc0c1e62c6e47ffccca953c57df4624d685493584
treee2ef42a972897dca58df0922ba92aa6e58424033
parent9648789e2634e30fc58ad7180a7c7815e6227061
gpio: Rename dm_gpio_get_dir_flags() to dm_gpio_get_flags()

This function can be used to get any flags, not just direction flags.
Rename it to avoid confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
drivers/gpio/gpio-uclass.c
include/asm-generic/gpio.h
test/dm/gpio.c