Skip to content

Commit bbc7ba0

Browse files
Tom Rixbroonie
authored andcommitted
regulator: cleanup comments
For spdx Remove leading space, add space after // Replacements overriden to overridden Calulate to Calculate addional to additional regulatior to regulator devive to device Signed-off-by: Tom Rix <trix@redhat.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220305162438.689442-1-trix@redhat.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 80c0566 commit bbc7ba0

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

drivers/regulator/max8973-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ static int max8973_thermal_read_temp(void *data, int *temp)
459459
return ret;
460460
}
461461

462-
/* +1 degC to trigger cool devive */
462+
/* +1 degC to trigger cool device */
463463
if (val & MAX77621_CHIPID_TJINT_S)
464464
*temp = mchip->junction_temp_warning + 1000;
465465
else

drivers/regulator/sc2731-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: GPL-2.0
22
/*
33
* Copyright (C) 2017 Spreadtrum Communications Inc.
44
*/

drivers/regulator/ti-abb-regulator.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
/**
4343
* struct ti_abb_info - ABB information per voltage setting
4444
* @opp_sel: one of TI_ABB macro
45-
* @vset: (optional) vset value that LDOVBB needs to be overriden with.
45+
* @vset: (optional) vset value that LDOVBB needs to be overridden with.
4646
*
4747
* Array of per voltage entries organized in the same order as regulator_desc's
4848
* volt_table list. (selector is used to index from this array)
@@ -484,7 +484,7 @@ static int ti_abb_init_timings(struct device *dev, struct ti_abb *abb)
484484
/* Calculate cycle rate */
485485
cycle_rate = DIV_ROUND_CLOSEST(clock_cycles * 10, clk_rate);
486486

487-
/* Calulate SR2_WTCNT_VALUE */
487+
/* Calculate SR2_WTCNT_VALUE */
488488
sr2_wt_cnt_val = DIV_ROUND_CLOSEST(abb->settling_time * 10, cycle_rate);
489489

490490
dev_dbg(dev, "%s: Clk_rate=%ld, sr2_cnt=0x%08x\n", __func__,
@@ -688,7 +688,7 @@ MODULE_DEVICE_TABLE(of, ti_abb_of_match);
688688
* @pdev: ABB platform device
689689
*
690690
* Initializes an individual ABB LDO for required Body-Bias. ABB is used to
691-
* addional bias supply to SoC modules for power savings or mandatory stability
691+
* additional bias supply to SoC modules for power savings or mandatory stability
692692
* configuration at certain Operating Performance Points(OPPs).
693693
*
694694
* Return: 0 on success or appropriate error value when fails

drivers/regulator/wm8350-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ static int wm8350_regulator_probe(struct platform_device *pdev)
11121112
if (pdev->id < WM8350_DCDC_1 || pdev->id > WM8350_ISINK_B)
11131113
return -ENODEV;
11141114

1115-
/* do any regulatior specific init */
1115+
/* do any regulator specific init */
11161116
switch (pdev->id) {
11171117
case WM8350_DCDC_1:
11181118
val = wm8350_reg_read(wm8350, WM8350_DCDC1_LOW_POWER);

0 commit comments

Comments
 (0)