diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-23 14:52:07 +1300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-12 17:45:40 -0400 |
commit | 34f8fc7c859926174b02734b35e5d5112a8c9fe7 (patch) | |
tree | 0df7f735fb0d6ab3403c3488fa00966b81378daf /include | |
parent | a12aa7995f19ba612a0ab0a9b13da38183250973 (diff) | |
download | u-boot-34f8fc7c859926174b02734b35e5d5112a8c9fe7.zip u-boot-34f8fc7c859926174b02734b35e5d5112a8c9fe7.tar.gz u-boot-34f8fc7c859926174b02734b35e5d5112a8c9fe7.tar.bz2 |
gpio: Drop dm_gpio_set_dir()
This function is not used. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/gpio.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index 2cb0500..e33cde7 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h @@ -707,17 +707,6 @@ int dm_gpio_get_value(const struct gpio_desc *desc); int dm_gpio_set_value(const struct gpio_desc *desc, int value); /** - * dm_gpio_set_dir() - Set the direction for a GPIO - * - * This sets up the direction according to the GPIO flags: desc->flags. - * - * @desc: GPIO description containing device, offset and flags, - * previously returned by gpio_request_by_name() - * @return 0 if OK, -ve on error - */ -int dm_gpio_set_dir(struct gpio_desc *desc); - -/** * dm_gpio_clrset_flags() - Update flags * * This updates the flags as directled. Note that desc->flags is updated by this |