Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tom Rix and committed by
Mark Brown
bbc7ba0f 80c05665

+6 -6
+1 -1
drivers/regulator/max8973-regulator.c
··· 459 459 return ret; 460 460 } 461 461 462 - /* +1 degC to trigger cool devive */ 462 + /* +1 degC to trigger cool device */ 463 463 if (val & MAX77621_CHIPID_TJINT_S) 464 464 *temp = mchip->junction_temp_warning + 1000; 465 465 else
+1 -1
drivers/regulator/sc2731-regulator.c
··· 1 - //SPDX-License-Identifier: GPL-2.0 1 + // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 3 * Copyright (C) 2017 Spreadtrum Communications Inc. 4 4 */
+3 -3
drivers/regulator/ti-abb-regulator.c
··· 42 42 /** 43 43 * struct ti_abb_info - ABB information per voltage setting 44 44 * @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. 46 46 * 47 47 * Array of per voltage entries organized in the same order as regulator_desc's 48 48 * volt_table list. (selector is used to index from this array) ··· 484 484 /* Calculate cycle rate */ 485 485 cycle_rate = DIV_ROUND_CLOSEST(clock_cycles * 10, clk_rate); 486 486 487 - /* Calulate SR2_WTCNT_VALUE */ 487 + /* Calculate SR2_WTCNT_VALUE */ 488 488 sr2_wt_cnt_val = DIV_ROUND_CLOSEST(abb->settling_time * 10, cycle_rate); 489 489 490 490 dev_dbg(dev, "%s: Clk_rate=%ld, sr2_cnt=0x%08x\n", __func__, ··· 688 688 * @pdev: ABB platform device 689 689 * 690 690 * 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 692 692 * configuration at certain Operating Performance Points(OPPs). 693 693 * 694 694 * Return: 0 on success or appropriate error value when fails
+1 -1
drivers/regulator/wm8350-regulator.c
··· 1112 1112 if (pdev->id < WM8350_DCDC_1 || pdev->id > WM8350_ISINK_B) 1113 1113 return -ENODEV; 1114 1114 1115 - /* do any regulatior specific init */ 1115 + /* do any regulator specific init */ 1116 1116 switch (pdev->id) { 1117 1117 case WM8350_DCDC_1: 1118 1118 val = wm8350_reg_read(wm8350, WM8350_DCDC1_LOW_POWER);