clk: cleanup comments
authorTom Rix <trix@redhat.com>
Tue, 22 Feb 2022 19:51:53 +0000 (11:51 -0800)
committerStephen Boyd <sboyd@kernel.org>
Sat, 12 Mar 2022 02:22:15 +0000 (18:22 -0800)
For spdx
Space instead of tab before spdx tag

Removed repeated works
the, to, two

Replacements
much much to a much
'to to' to 'to do'
aready to already
Comunications to Communications
freqency to frequency

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220222195153.3817625-1-trix@redhat.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/sckc.c
drivers/clk/axis/clk-artpec6.c
drivers/clk/bcm/clk-iproc.h
drivers/clk/bcm/clk-kona-setup.c
drivers/clk/clk-fractional-divider.c
drivers/clk/clk-si5341.c
drivers/clk/meson/meson8b.c
drivers/clk/mmp/pwr-island.c
drivers/clk/socfpga/clk-gate-s10.c

index 2d65770d8665171a69ebe1b8b9cd4fa9ca831d57..fdc9b669f8a7af22f12e7c08cf98a02182533875 100644 (file)
@@ -535,7 +535,7 @@ static int clk_sama5d4_slow_osc_prepare(struct clk_hw *hw)
 
        /*
         * Assume that if it has already been selected (for example by the
-        * bootloader), enough time has aready passed.
+        * bootloader), enough time has already passed.
         */
        if ((readl(osc->sckcr) & osc->bits->cr_oscsel)) {
                osc->prepared = true;
index f95959ff85aca0d854e890e2d8a726be173b6a45..a3f349d4624d004d3a730cbe6a2deda3a6a602ad 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * ARTPEC-6 clock initialization
  *
- * Copyright 2015-2016 Axis Comunications AB.
+ * Copyright 2015-2016 Axis Communications AB.
  */
 
 #include <linux/clk-provider.h>
index a48ddd3e0b28cd40b0c4cc998e4e1d8c586bdf67..d7e5b94bed45181acfd9e649a4f4997633ac1b0c 100644 (file)
@@ -89,7 +89,7 @@
  * Parameters for VCO frequency configuration
  *
  * VCO frequency =
- * ((ndiv_int + ndiv_frac / 2^20) * (ref freqeuncy  / pdiv)
+ * ((ndiv_int + ndiv_frac / 2^20) * (ref frequency  / pdiv)
  */
 struct iproc_pll_vco_param {
        unsigned long rate;
index e65eeef9cbaf16ad3ba4238f0f17a12e70eb6915..5dd65164c8b1b3185ffa08363cb8c54992e8d08d 100644 (file)
@@ -510,7 +510,7 @@ static bool kona_clk_valid(struct kona_clk *bcm_clk)
  * placeholders for non-supported clocks.  Keep track of the
  * position of each clock name in the original array.
  *
- * Allocates an array of pointers to to hold the names of all
+ * Allocates an array of pointers to hold the names of all
  * non-null entries in the original array, and returns a pointer to
  * that array in *names.  This will be used for registering the
  * clock with the common clock code.  On successful return,
index 4274540327cece5b2428b794a815c55a95ff06cc..8efa5142ff8c725ff4a1522b97785a4aed994a96 100644 (file)
@@ -34,7 +34,7 @@
  * and assume that the IP, that needs m and n, has also its own
  * prescaler, which is capable to divide by 2^scale. In this way
  * we get the denominator to satisfy the desired range (2) and
- * at the same time much much better result of m and n than simple
+ * at the same time a much better result of m and n than simple
  * saturated values.
  */
 
index f7b41366666e544c2341c7dde1abc9be659764b5..4baeb7378a4b45df61825b81783e905b653a99ce 100644 (file)
@@ -655,7 +655,7 @@ static unsigned long si5341_synth_clk_recalc_rate(struct clk_hw *hw,
        f = synth->data->freq_vco;
        f *= n_den >> 4;
 
-       /* Now we need to to 64-bit division: f/n_num */
+       /* Now we need to do 64-bit division: f/n_num */
        /* And compensate for the 4 bits we dropped */
        f = div64_u64(f, (n_num >> 4));
 
index cd0f5bae24d49ae4b443ca6a82e10bb005c9137f..8f3b7a94a66773f9e6ee2f4ca46f9d31e24b11f3 100644 (file)
@@ -2232,7 +2232,7 @@ static struct clk_regmap meson8b_vpu_1 = {
 };
 
 /*
- * The VPU clock has two two identical clock trees (vpu_0 and vpu_1)
+ * The VPU clock has two identical clock trees (vpu_0 and vpu_1)
  * muxed by a glitch-free switch on Meson8b and Meson8m2. The CCF can
  * actually manage this glitch-free mux because it does top-to-bottom
  * updates the each clock tree and switches to the "inactive" one when
index ab57c0e995c1d03bdebfeebeae311eb380bcfc97..edaa2433a472adf00b3c8c8ac71cefb3786df59a 100644 (file)
@@ -76,7 +76,7 @@ static int mmp_pm_domain_power_off(struct generic_pm_domain *genpd)
        if (pm_domain->lock)
                spin_lock_irqsave(pm_domain->lock, flags);
 
-       /* Turn off and isolate the the power island. */
+       /* Turn off and isolate the power island. */
        val = readl(pm_domain->reg);
        val &= ~pm_domain->power_on;
        val &= ~0x100;
index 32567795765fb5bb6b03a05e50614f065171ded1..3930d922efb4d32192dc0c83e3dfa474df79f116 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier:    GPL-2.0
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2017, Intel Corporation
  */