]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
iio: temp: fix spelling mistakes in comments
authorShi Hao <i.shihao.999@gmail.com>
Mon, 16 Mar 2026 09:00:17 +0000 (14:30 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2026 19:27:08 +0000 (19:27 +0000)
Fix spelling mistakes in comments.

- catched -> caught
- chanel -> channel

Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/temperature/ltc2983.c

index 7dd40d69cce68a6293a42de389153f459b396ae3..38e6f8dfd3b808ffa5aff73919de66f85bba2ed5 100644 (file)
@@ -709,7 +709,7 @@ ltc2983_thermocouple_new(const struct fwnode_handle *child, struct ltc2983_data
                ret = fwnode_property_read_u32(ref, "reg", &thermo->cold_junction_chan);
                if (ret)
                        /*
-                        * This would be catched later but we can just return
+                        * This would be caught later but we can just return
                         * the error right away.
                         */
                        return dev_err_ptr_probe(&st->spi->dev, ret,
@@ -798,7 +798,7 @@ ltc2983_rtd_new(const struct fwnode_handle *child, struct ltc2983_data *st,
         * For 4wire RTD with rotation, the channel selection cannot be
         * >=19 since the chann + 1 is used in this configuration.
         * For 4wire RTDs with kelvin rsense, the rsense channel cannot be
-        * <=1 since chanel - 1 and channel - 2 are used.
+        * <=1 since channel - 1 and channel - 2 are used.
         */
        if (rtd->sensor_config & LTC2983_RTD_4_WIRE_MASK) {
                /* 4-wire */