Skip to content

Commit 264200c

Browse files
bjorn-helgaasbebarino
authored andcommitted
clk: Fix typos
Fix typos, mostly in comments except CLKGATE_SEPERATED_* (definition and uses updated). Signed-off-by: Bjorn Helgaas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 65df390 commit 264200c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+80
-81
lines changed

drivers/clk/baikal-t1/clk-ccu-div.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ static void ccu_div_clk_unregister(struct ccu_div_data *data, bool defer)
405405
{
406406
int idx;
407407

408-
/* Uninstall only the clocks registered on the specfied stage */
408+
/* Uninstall only the clocks registered on the specified stage */
409409
for (idx = 0; idx < data->divs_num; ++idx) {
410410
if (!!(data->divs_info[idx].features & CCU_DIV_BASIC) ^ defer)
411411
continue;

drivers/clk/baikal-t1/clk-ccu-pll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ static void ccu_pll_clk_unregister(struct ccu_pll_data *data, bool defer)
196196
{
197197
int idx;
198198

199-
/* Uninstall only the clocks registered on the specfied stage */
199+
/* Uninstall only the clocks registered on the specified stage */
200200
for (idx = 0; idx < CCU_PLL_NUM; ++idx) {
201201
if (!!(pll_info[idx].features & CCU_PLL_BASIC) ^ defer)
202202
continue;

drivers/clk/bcm/clk-bcm2835.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,7 @@ static const char *const bcm2835_clock_osc_parents[] = {
15551555
.parents = bcm2835_clock_osc_parents, \
15561556
__VA_ARGS__)
15571557

1558-
/* main peripherial parent mux */
1558+
/* main peripheral parent mux */
15591559
static const char *const bcm2835_clock_per_parents[] = {
15601560
"gnd",
15611561
"xosc",

drivers/clk/bcm/clk-bcm53573-ilp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static unsigned long bcm53573_ilp_recalc_rate(struct clk_hw *hw,
5959
/*
6060
* At minimum we should loop for a bit to let hardware do the
6161
* measurement. This isn't very accurate however, so for a better
62-
* precision lets try getting 20 different values for and use average.
62+
* precision let's try getting 20 different values and use average.
6363
*/
6464
while (num < 20) {
6565
regmap_read(regmap, PMU_XTAL_FREQ_RATIO, &cur_val);

drivers/clk/berlin/berlin2-avpll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ berlin2_avpll_channel_recalc_rate(struct clk_hw *hw, unsigned long parent_rate)
319319

320320
/*
321321
* AV3 divider start at VCO_CTRL14, bit 7; each 4 bits wide.
322-
* AV2/AV3 form a fractional divider, where only specfic values for AV3
322+
* AV2/AV3 form a fractional divider, where only specific values for AV3
323323
* are allowed. AV3 != 0 divides by AV2/2, AV3=0 is bypass.
324324
*/
325325
if (ch->index < 6) {

drivers/clk/clk-asm9260.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ static const struct asm9260_div_clk asm9260_div_clks[] __initconst = {
9292
{ CLKID_SYS_CPU, "cpu_div", "main_gate", HW_CPUCLKDIV },
9393
{ CLKID_SYS_AHB, "ahb_div", "cpu_div", HW_SYSAHBCLKDIV },
9494

95-
/* i2s has two deviders: one for only external mclk and internal
96-
* devider for all clks. */
95+
/* i2s has two dividers: one for only external mclk and internal
96+
* divider for all clks. */
9797
{ CLKID_SYS_I2S0M, "i2s0m_div", "i2s0_mclk", HW_I2S0MCLKDIV },
9898
{ CLKID_SYS_I2S1M, "i2s1m_div", "i2s1_mclk", HW_I2S1MCLKDIV },
9999
{ CLKID_SYS_I2S0S, "i2s0s_div", "i2s0_gate", HW_I2S0SCLKDIV },

drivers/clk/clk-ast2600.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static u8 soc_rev;
9292
*
9393
* There are some gates that do not have an associated reset; these are
9494
* handled by using -1 as the index for the reset, and the consumer must
95-
* explictly assert/deassert reset lines as required.
95+
* explicitly assert/deassert reset lines as required.
9696
*
9797
* Clocks marked with CLK_IS_CRITICAL:
9898
*

drivers/clk/clk-axi-clkgen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ static void axi_clkgen_calc_params(const struct axi_clkgen_limits *limits,
172172
}
173173
}
174174

175-
/* Lets see if we find a better setting in fractional mode */
175+
/* Let's see if we find a better setting in fractional mode */
176176
if (fract_shift == 0) {
177177
fract_shift = 3;
178178
goto again;

drivers/clk/clk-clps711x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static void __init clps711x_clk_init_dt(struct device_node *np)
9999
*/
100100
tmp &= ~(SYSCON1_TC1M | SYSCON1_TC1S);
101101
/* Timer2 in prescale mode.
102-
* Value writen is automatically re-loaded when
102+
* Value written is automatically re-loaded when
103103
* the counter underflows.
104104
*/
105105
tmp |= SYSCON1_TC2M | SYSCON1_TC2S;

drivers/clk/clk-eyeq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ struct eqc_early_match_data {
131131
* Both factors (mult and div) must fit in 32 bits. When an operation overflows,
132132
* this function throws away low bits so that factors still fit in 32 bits.
133133
*
134-
* Precision loss depends on amplitude of mult and div. Worst theorical
134+
* Precision loss depends on amplitude of mult and div. Worst theoretical
135135
* loss is: (UINT_MAX+1) / UINT_MAX - 1 = 2.3e-10.
136136
* This is 1Hz every 4.3GHz.
137137
*/

0 commit comments

Comments
 (0)