]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ti-u-boot/ti-u-boot.git/commit
gpio: i2c-gpio: Drop use of dm_gpio_set_dir()
authorSimon Glass <sjg@chromium.org>
Tue, 23 Mar 2021 01:52:06 +0000 (14:52 +1300)
committerTom Rini <trini@konsulko.com>
Mon, 12 Apr 2021 21:45:40 +0000 (17:45 -0400)
commita12aa7995f19ba612a0ab0a9b13da38183250973
tree40a5ed7d05491fc8ad2673ada1882e4c97d3c3a1
parent0219279381bcba7ad57c438d96dcee27643fc294
gpio: i2c-gpio: Drop use of dm_gpio_set_dir()

This is the only driver that uses this function. Update it to use the
alternative which is dm_gpio_clrset_flags().

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Harm Berntsen <harm.berntsen@nedap.com>
drivers/i2c/i2c-gpio.c