ARM: OMAP: serial: remove last vestige of DTR_gpio support.
authorNeilBrown <neilb@suse.de>
Fri, 7 Nov 2014 23:42:46 +0000 (10:42 +1100)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Nov 2014 17:06:44 +0000 (09:06 -0800)
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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/serial.c
include/linux/platform_data/serial-omap.h

index a388f8c..57dee0c 100644 (file)
@@ -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);
index c860c1b..d09275f 100644 (file)
@@ -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);