gpio: remove the open_drain API and ops
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 13 Jan 2020 10:35:00 +0000 (11:35 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 17 Apr 2020 03:06:54 +0000 (23:06 -0400)
commite3f3a121d8ebe15da868be8afbfb3e2a9ff80d4d
tree153d0aa0c94bb532ecdc84b86a812c4e9d464b41
parent277a0ad8f559e6b54c0d32512697debc659d9fd5
gpio: remove the open_drain API and ops

This patch removes the ops get_open_drain/set_open_drain
and the API dm_gpio_get_open_drain/dm_gpio_set_open_drain.

The ops only provided in one driver (mpc8xxx gpio) and the
associated API is never called in boards.

This patch prepare a more generic set/get_dir_flags ops,
including the open drain property.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/sandbox/include/asm/gpio.h
drivers/gpio/gpio-uclass.c
drivers/gpio/mpc8xxx_gpio.c
drivers/gpio/sandbox.c
include/asm-generic/gpio.h
test/dm/gpio.c