USB: serial: fix repeated word "the" in comments
authorJiang Jian <jiangjian@cdjrlc.com>
Wed, 22 Jun 2022 10:42:17 +0000 (18:42 +0800)
committerJohan Hovold <johan@kernel.org>
Wed, 13 Jul 2022 06:39:04 +0000 (08:39 +0200)
There is a repeated word "the" in two comments that should be replaced
or removed.

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
[ johan: replace one "the" with "that", merge the two cleanups, amend
         commit message ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/cypress_m8.c
drivers/usb/serial/mos7720.c

index 6924fa95f6bd2d3da69605cc282426b78ac873d6..5fbcc155e8f5c17ddb4a38020d4efff04fb73c79 100644 (file)
@@ -256,7 +256,7 @@ static int analyze_baud_rate(struct usb_serial_port *port, speed_t new_rate)
                /*
                 * Mike Isely <isely@pobox.com> 2-Feb-2008: The
                 * Cypress app note that describes this mechanism
-                * states the the low-speed part can't handle more
+                * states that the low-speed part can't handle more
                 * than 800 bytes/sec, in which case 4800 baud is the
                 * safest speed for a part like that.
                 */
index 1e12b5f30dcc14329d7e2c175cc173850b58aca4..23ccbba716c7e439ca0f79d7c056a3fd91b1e77a 100644 (file)
@@ -826,7 +826,7 @@ static int mos77xx_calc_num_ports(struct usb_serial *serial,
                /*
                 * The 7715 uses the first bulk in/out endpoint pair for the
                 * parallel port, and the second for the serial port. We swap
-                * the endpoint descriptors here so that the the first and
+                * the endpoint descriptors here so that the first and
                 * only registered port structure uses the serial-port
                 * endpoints.
                 */