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

regulator: Fix typos in the comment

Fixed some confusing typographical errors:
comptabile->compatible,
asignment->assignment,
Verison->Version,
meansurement->measurement,
offets->offsets.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
Link: https://patch.msgid.link/20240910064631.3223441-1-yujiaoliang@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Yu Jiaoliang and committed by
Mark Brown
886fee35 63a68ee1

+5 -5
+1 -1
drivers/regulator/da903x-regulator.c
··· 61 61 #define DA9034_MDTV2 (0x33) 62 62 #define DA9034_MVRC (0x34) 63 63 64 - /* DA9035 Registers. DA9034 Registers are comptabile to DA9035. */ 64 + /* DA9035 Registers. DA9034 Registers are compatible to DA9035. */ 65 65 #define DA9035_OVER3 (0x12) 66 66 #define DA9035_VCC2 (0x1f) 67 67 #define DA9035_3DTV1 (0x2c)
+1 -1
drivers/regulator/da9063-regulator.c
··· 133 133 .suspend_vsel_reg = DA9063_REG_V##regl_name##_B, \ 134 134 .mode = BFIELD(DA9063_REG_##regl_name##_CFG, DA9063_BUCK_MODE_MASK) 135 135 136 - /* Defines asignment of regulators info table to chip model */ 136 + /* Defines assignment of regulators info table to chip model */ 137 137 struct da9063_dev_model { 138 138 const struct da9063_regulator_info *regulator_info; 139 139 unsigned int n_regulators;
+1 -1
drivers/regulator/fan53555.c
··· 46 46 /* VSEL bit definitions */ 47 47 #define VSEL_BUCK_EN BIT(7) 48 48 #define VSEL_MODE BIT(6) 49 - /* Chip ID and Verison */ 49 + /* Chip ID and Version */ 50 50 #define DIE_ID 0x0F /* ID1 */ 51 51 #define DIE_REV 0x0F /* ID2 */ 52 52 /* Control bit definitions */
+1 -1
drivers/regulator/max5970-regulator.c
··· 70 70 * millivolts) and then divide it by the maximum value of the 10-bit ADC. 71 71 */ 72 72 *val = (*val * ddata->irng) >> 10; 73 - /* Convert the voltage meansurement across shunt resistor to current */ 73 + /* Convert the voltage measurement across shunt resistor to current */ 74 74 *val = (*val * 1000) / ddata->shunt_micro_ohms; 75 75 return 0; 76 76 default:
+1 -1
drivers/regulator/qcom_spmi-regulator.c
··· 245 245 SAW3_VERSION = 0xFD0, 246 246 }; 247 247 248 - /* Used for indexing into ctrl_reg. These are offets from 0x40 */ 248 + /* Used for indexing into ctrl_reg. These are offsets from 0x40 */ 249 249 enum spmi_common_control_register_index { 250 250 SPMI_COMMON_IDX_VOLTAGE_RANGE = 0, 251 251 SPMI_COMMON_IDX_VOLTAGE_SET = 1,