]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
thunderbolt: Fix typos in icm.c
authorAlan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Tue, 2 Sep 2025 14:38:38 +0000 (16:38 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 17 Nov 2025 07:24:23 +0000 (08:24 +0100)
Fix typos in icm.c. No functional changes.

Signed-off-by: Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/icm.c

index 66092febb40de22254942f5049f6aaa5c337c122..d339ba835376a4ffe2286dce9f73847b71849b6e 100644 (file)
@@ -787,7 +787,7 @@ icm_fr_device_connected(struct tb *tb, const struct icm_pkg_header *hdr)
                 * information might have changed for example by the
                 * fact that a switch on a dual-link connection might
                 * have been enumerated using the other link now. Make
-                * sure our book keeping matches that.
+                * sure our bookkeeping matches that.
                 */
                if (sw->depth == depth && sw_phy_port == phy_port &&
                    !!sw->authorized == authorized) {
@@ -969,7 +969,7 @@ icm_fr_xdomain_connected(struct tb *tb, const struct icm_pkg_header *hdr)
 
        /*
         * Look if there already exists an XDomain in the same place
-        * than the new one and in that case remove it because it is
+        * as the new one and in that case remove it because it is
         * most likely another host that got disconnected.
         */
        xd = tb_xdomain_find_by_link_depth(tb, link, depth);
@@ -2171,7 +2171,7 @@ static int icm_runtime_resume_switch(struct tb_switch *sw)
 static int icm_runtime_resume(struct tb *tb)
 {
        /*
-        * We can reuse the same resume functionality than with system
+        * We can reuse the same resume functionality as with system
         * suspend.
         */
        icm_complete(tb);