]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
regulator: Fix typos in the comment
authorYu Jiaoliang <yujiaoliang@vivo.com>
Tue, 10 Sep 2024 06:46:30 +0000 (14:46 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 10 Sep 2024 11:40:38 +0000 (12:40 +0100)
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>
drivers/regulator/da903x-regulator.c
drivers/regulator/da9063-regulator.c
drivers/regulator/fan53555.c
drivers/regulator/max5970-regulator.c
drivers/regulator/qcom_spmi-regulator.c

index f79337079a456c3739c7b73e83e69927f6451a29..2f85897183b3b0f7eb8955dc6d9b23f2d7e72ae2 100644 (file)
@@ -61,7 +61,7 @@
 #define DA9034_MDTV2           (0x33)
 #define DA9034_MVRC            (0x34)
 
-/* DA9035 Registers. DA9034 Registers are comptabile to DA9035. */
+/* DA9035 Registers. DA9034 Registers are compatible to DA9035. */
 #define DA9035_OVER3           (0x12)
 #define DA9035_VCC2            (0x1f)
 #define DA9035_3DTV1           (0x2c)
index 82bf321ae06f0c3508f25e8dbf89e1c9fa6035de..e7dcfe40a27896221fe953813a1f246a040653ce 100644 (file)
@@ -133,7 +133,7 @@ struct da9063_regulator_info {
        .suspend_vsel_reg = DA9063_REG_V##regl_name##_B, \
        .mode = BFIELD(DA9063_REG_##regl_name##_CFG, DA9063_BUCK_MODE_MASK)
 
-/* Defines asignment of regulators info table to chip model */
+/* Defines assignment of regulators info table to chip model */
 struct da9063_dev_model {
        const struct da9063_regulator_info      *regulator_info;
        unsigned int                            n_regulators;
index 17c9bf204385900b8cbb4aa5f1b98766a9ea648b..bd9447dac5967a9864ff861117bb7656a91f0842 100644 (file)
@@ -46,7 +46,7 @@
 /* VSEL bit definitions */
 #define VSEL_BUCK_EN           BIT(7)
 #define VSEL_MODE              BIT(6)
-/* Chip ID and Verison */
+/* Chip ID and Version */
 #define DIE_ID                 0x0F    /* ID1 */
 #define DIE_REV                        0x0F    /* ID2 */
 /* Control bit definitions */
index 8bbcd983a74aa8d8e5db6ae9e9cb7480a9220575..4a568b1b010711de8fb5e1482bc6a5e3ccf01377 100644 (file)
@@ -70,7 +70,7 @@ static int max5970_read(struct device *dev, enum hwmon_sensor_types type,
                         * millivolts) and then divide it by the maximum value of the 10-bit ADC.
                         */
                        *val = (*val * ddata->irng) >> 10;
-                       /* Convert the voltage meansurement across shunt resistor to current */
+                       /* Convert the voltage measurement across shunt resistor to current */
                        *val = (*val * 1000) / ddata->shunt_micro_ohms;
                        return 0;
                default:
index 89657e8eea82e73985219ac77a017b8dd7d8ee7f..d66a0f61637e175c609c1b7c1d151ebc5bc8eebb 100644 (file)
@@ -245,7 +245,7 @@ enum spmi_saw3_registers {
        SAW3_VERSION                            = 0xFD0,
 };
 
-/* Used for indexing into ctrl_reg.  These are offets from 0x40 */
+/* Used for indexing into ctrl_reg.  These are offsets from 0x40 */
 enum spmi_common_control_register_index {
        SPMI_COMMON_IDX_VOLTAGE_RANGE           = 0,
        SPMI_COMMON_IDX_VOLTAGE_SET             = 1,