linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: serial: remove last vestige of DTR_gpio support.
@ 2014-11-07 23:42 NeilBrown
  2014-11-10 17:07 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: NeilBrown @ 2014-11-07 23:42 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap, linux-kernel, Felipe Balbi, GTA04 owners

[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]


These fields were added by:
commit 9574f36fb801035f6ab0fbb1b53ce2c12c17d100
    OMAP/serial: Add support for driving a GPIO as DTR.

but not removed by

commit 985bfd54c826c0ba873ca0adfd5589263e0c6ee2
    tty: serial: omap: remove some dead code

which reverted most of that commit.
Time to revert the rest.

Signed-off-by: NeilBrown <neilb@suse.de>

diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index a388f8c1bcb3..57dee0c7cd2b 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -263,9 +263,6 @@ void __init omap_serial_init_port(struct omap_board_data *bdata,
 	omap_up.dma_rx_timeout = info->dma_rx_timeout;
 	omap_up.dma_rx_poll_rate = info->dma_rx_poll_rate;
 	omap_up.autosuspend_timeout = info->autosuspend_timeout;
-	omap_up.DTR_gpio = info->DTR_gpio;
-	omap_up.DTR_inverted = info->DTR_inverted;
-	omap_up.DTR_present = info->DTR_present;
 
 	pdata = &omap_up;
 	pdata_size = sizeof(struct omap_uart_port_info);
diff --git a/include/linux/platform_data/serial-omap.h b/include/linux/platform_data/serial-omap.h
index c860c1b314c0..d09275f3cde3 100644
--- a/include/linux/platform_data/serial-omap.h
+++ b/include/linux/platform_data/serial-omap.h
@@ -38,9 +38,6 @@ struct omap_uart_port_info {
 	unsigned int		dma_rx_timeout;
 	unsigned int		autosuspend_timeout;
 	unsigned int		dma_rx_poll_rate;
-	int			DTR_gpio;
-	int			DTR_inverted;
-	int			DTR_present;
 
 	int (*get_context_loss_count)(struct device *);
 	void (*enable_wakeup)(struct device *, bool);

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

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

* Re: [PATCH] ARM: OMAP: serial: remove last vestige of DTR_gpio support.
  2014-11-07 23:42 [PATCH] ARM: OMAP: serial: remove last vestige of DTR_gpio support NeilBrown
@ 2014-11-10 17:07 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2014-11-10 17:07 UTC (permalink / raw)
  To: NeilBrown; +Cc: linux-omap, linux-kernel, Felipe Balbi, GTA04 owners

* NeilBrown <neilb@suse.de> [141107 15:44]:
> 
> These fields were added by:
> commit 9574f36fb801035f6ab0fbb1b53ce2c12c17d100
>     OMAP/serial: Add support for driving a GPIO as DTR.
> 
> but not removed by
> 
> commit 985bfd54c826c0ba873ca0adfd5589263e0c6ee2
>     tty: serial: omap: remove some dead code
> 
> which reverted most of that commit.
> Time to revert the rest.

Thanks applying into omap-for-v3.19/fixes-not-urgent.

Tony

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

end of thread, other threads:[~2014-11-10 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-07 23:42 [PATCH] ARM: OMAP: serial: remove last vestige of DTR_gpio support NeilBrown
2014-11-10 17:07 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).