From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 29 Dec 2019 18:21:11 -0700 Subject: [PATCH v2 06/14] gpio: remove the open_drain API and ops In-Reply-To: <20191126084911.19761-7-patrick.delaunay@st.com> References: <20191126084911.19761-1-patrick.delaunay@st.com> <20191126084911.19761-7-patrick.delaunay@st.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 26 Nov 2019 at 01:49, Patrick Delaunay wrote: > > 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. > > Signed-off-by: Patrick Delaunay > --- > > Changes in v2: > - remove the open_drain API and ops > > arch/sandbox/include/asm/gpio.h | 20 ------------------ > drivers/gpio/gpio-uclass.c | 36 --------------------------------- > drivers/gpio/mpc8xxx_gpio.c | 22 -------------------- > drivers/gpio/sandbox.c | 35 -------------------------------- > include/asm-generic/gpio.h | 34 ------------------------------- > test/dm/gpio.c | 7 ------- > 6 files changed, 154 deletions(-) Reviewed-by: Simon Glass