]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: gpio: Rename set_dir_flags() method to update_flags()
authorSimon Glass <sjg@chromium.org>
Fri, 5 Feb 2021 04:21:55 +0000 (21:21 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 3 Mar 2021 19:51:06 +0000 (14:51 -0500)
commit13979fc44667cbc577f3c4d07b6692de104a3174
tree1d4cd85975f13a4160653e2b300e14abbbe42c60
parent4fe406729c87f41b745269c0f509da7d27f0a5c1
dm: gpio: Rename set_dir_flags() method to update_flags()

The current method is a misnomer since it is also used (e.g. by stm32) to
update pull settings and open source/open drain.

Rename it and expand the documentation to cover a few more details.

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