Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932156AbcDVPK0 (ORCPT ); Fri, 22 Apr 2016 11:10:26 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:60515 "EHLO andre.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932065AbcDVPKZ (ORCPT ); Fri, 22 Apr 2016 11:10:25 -0400 From: Geert Uytterhoeven To: Greg Kroah-Hartman , Jiri Slaby Cc: Peter Hurley , Richard Genoud , Arnd Bergmann , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] serial: mctrl_gpio: Drop support for out1-gpios and out2-gpios Date: Fri, 22 Apr 2016 17:10:14 +0200 Message-Id: <1461337814-29058-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 825 Lines: 24 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 --- 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