All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] serial: mctrl_gpio: Drop support for out1-gpios and out2-gpios
@ 2016-04-22 15:10 Geert Uytterhoeven
  2016-04-22 18:32 ` Peter Hurley
  2016-04-27  8:20 ` Richard Genoud
  0 siblings, 2 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2016-04-22 15:10 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: Peter Hurley, Richard Genoud, Arnd Bergmann, linux-serial,
	linux-kernel, Geert Uytterhoeven

The OUT1 and OUT2 pins present on some legacy UARTs are basically GPIOs.
It doesn't make much sense to emulate GPIOs using other GPIOs, hence
drop support for that.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/tty/serial/serial_mctrl_gpio.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/tty/serial/serial_mctrl_gpio.c b/drivers/tty/serial/serial_mctrl_gpio.c
index 02147361eaa94747..821ffa637eb630cb 100644
--- a/drivers/tty/serial/serial_mctrl_gpio.c
+++ b/drivers/tty/serial/serial_mctrl_gpio.c
@@ -43,8 +43,6 @@ static const struct {
 	{ "rng", TIOCM_RNG, false, },
 	{ "rts", TIOCM_RTS, true, },
 	{ "dtr", TIOCM_DTR, true, },
-	{ "out1", TIOCM_OUT1, true, },
-	{ "out2", TIOCM_OUT2, true, },
 };
 
 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl)
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-28  8:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22 15:10 [PATCH] serial: mctrl_gpio: Drop support for out1-gpios and out2-gpios Geert Uytterhoeven
2016-04-22 18:32 ` Peter Hurley
2016-04-27  8:20 ` Richard Genoud
2016-04-28  8:35   ` Geert Uytterhoeven
2016-04-28  8:35     ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.