Skip to content

Commit

Permalink
clk: cleanup comments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tom Rix authored and Stephen Boyd committed Mar 12, 2022
1 parent 6f3cf24 commit 7c55e8e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion drivers/clk/at91/sckc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/axis/clk-artpec6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/bcm/clk-iproc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/bcm/clk-kona-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/clk-fractional-divider.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/clk-si5341.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/meson/meson8b.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/mmp/pwr-island.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/socfpga/clk-gate-s10.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2017, Intel Corporation
*/
Expand Down

0 comments on commit 7c55e8e

Please sign in to comment.