thermal/ti-soc-thermal: Fix comment typo
authorJason Wang <wangborong@cdjrlc.com>
Fri, 15 Jul 2022 05:18:29 +0000 (13:18 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 28 Jul 2022 15:29:51 +0000 (17:29 +0200)
The double `and' is duplicated in line 229, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Link: https://lore.kernel.org/r/20220715051829.30927-1-wangborong@cdjrlc.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/ti-soc-thermal/ti-bandgap.c

index ea0603b59309f5f0b0218d6e8398006cb41e6bbf..67050a1a5b07f8f165e8a53b077b236c96985e78 100644 (file)
@@ -226,7 +226,7 @@ static irqreturn_t ti_bandgap_talert_irq_handler(int irq, void *data)
                /*
                 * One TALERT interrupt: Two sources
                 * If the interrupt is due to t_hot then mask t_hot and
-                * and unmask t_cold else mask t_cold and unmask t_hot
+                * unmask t_cold else mask t_cold and unmask t_hot
                 */
                if (t_hot) {
                        ctrl &= ~tsr->mask_hot_mask;