]> git.baikalelectronics.ru Git - uboot.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)
commit52c45f3deadb1b548aa1b13d279cafbce98bd2b5
tree40a5ed7d05491fc8ad2673ada1882e4c97d3c3a1
parentc1e97f1a13748021e349aaf674e73ab474bad215
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