diff options
author | Johan Hovold <johan@kernel.org> | 2021-04-07 12:45:26 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2021-04-08 09:49:33 +0200 |
commit | d669a51d572742acc8749cf1f25aa6db0055352c (patch) | |
tree | bd6c1f1feff96fc1341d08b70d8ec7211a957ae9 /drivers/usb | |
parent | 0428bf6807fe77e6d97c8e78538a594119d4aab2 (diff) | |
download | linux-stable-d669a51d572742acc8749cf1f25aa6db0055352c.tar.gz linux-stable-d669a51d572742acc8749cf1f25aa6db0055352c.tar.bz2 linux-stable-d669a51d572742acc8749cf1f25aa6db0055352c.zip |
USB: serial: io_ti: drop closing_wait module parameter
Now that all USB serial drivers supports setting the closing_wait
parameter through TIOCSSERIAL (setserial) it's time to drop the
corresponding io_ti module parameter.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/io_ti.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index f548cdbf0a51..6eff0e5a7545 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c @@ -211,7 +211,6 @@ static const struct usb_device_id id_table_combined[] = { MODULE_DEVICE_TABLE(usb, id_table_combined); -static int closing_wait = EDGE_CLOSING_WAIT; static bool ignore_cpu_rev; static int default_uart_mode; /* RS232 */ @@ -2593,7 +2592,7 @@ static int edge_port_probe(struct usb_serial_port *port) if (ret) goto err; - port->port.closing_wait = msecs_to_jiffies(closing_wait * 10); + port->port.closing_wait = msecs_to_jiffies(EDGE_CLOSING_WAIT * 10); port->port.drain_delay = 1; return 0; @@ -2759,9 +2758,6 @@ MODULE_DESCRIPTION(DRIVER_DESC); MODULE_LICENSE("GPL"); MODULE_FIRMWARE("edgeport/down3.bin"); -module_param(closing_wait, int, S_IRUGO | S_IWUSR); -MODULE_PARM_DESC(closing_wait, "Maximum wait for data to drain, in .01 secs"); - module_param(ignore_cpu_rev, bool, S_IRUGO | S_IWUSR); MODULE_PARM_DESC(ignore_cpu_rev, "Ignore the cpu revision when connecting to a device"); |