Messages in this thread Patch in this message | | | From | Michael Klein <> | Subject | [PATCH 2/2] mfd: fix spelling mistakes | Date | Tue, 24 Nov 2020 19:37:30 +0100 |
| |
Signed-off-by: Michael Klein <michael@fossekall.de> --- drivers/regulator/da9055-regulator.c | 4 ++-- include/linux/mfd/da9055/reg.h | 4 ++-- include/linux/mfd/si476x-core.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/regulator/da9055-regulator.c b/drivers/regulator/da9055-regulator.c index 73ff5fc7d8d7..c0394ac5e60a 100644 --- a/drivers/regulator/da9055-regulator.c +++ b/drivers/regulator/da9055-regulator.c @@ -184,7 +184,7 @@ static int da9055_regulator_get_voltage_sel(struct regulator_dev *rdev) ret &= info->conf.sel_mask; /* Get the voltage for the active register set A/B */ - if (ret == DA9055_REGUALTOR_SET_A) + if (ret == DA9055_REGULATOR_SET_A) ret = da9055_reg_read(regulator->da9055, volt.reg_a); else ret = da9055_reg_read(regulator->da9055, volt.reg_b); @@ -231,7 +231,7 @@ static int da9055_regulator_set_voltage_sel(struct regulator_dev *rdev, ret &= info->conf.sel_mask; /* Set the voltage */ - if (ret == DA9055_REGUALTOR_SET_A) + if (ret == DA9055_REGULATOR_SET_A) return da9055_reg_update(regulator->da9055, info->volt.reg_a, info->volt.v_mask, selector); else diff --git a/include/linux/mfd/da9055/reg.h b/include/linux/mfd/da9055/reg.h index 54a717b6c3de..1204e6b152d5 100644 --- a/include/linux/mfd/da9055/reg.h +++ b/include/linux/mfd/da9055/reg.h @@ -344,8 +344,8 @@ #define DA9055_VLDO_GPI_MASK 0x60 #define DA9055_LDO_CONF_SHIFT 0x07 #define DA9055_LDO_CONF_MASK 0x80 -#define DA9055_REGUALTOR_SET_A 0x00 -#define DA9055_REGUALTOR_SET_B 0x10 +#define DA9055_REGULATOR_SET_A 0x00 +#define DA9055_REGULATOR_SET_B 0x10 /* DA9055_REG_ADC_MAN (addr=0x1B) */ #define DA9055_ADC_MUX_SHIFT 0 diff --git a/include/linux/mfd/si476x-core.h b/include/linux/mfd/si476x-core.h index 4708c2b8512a..dd95c37ca134 100644 --- a/include/linux/mfd/si476x-core.h +++ b/include/linux/mfd/si476x-core.h @@ -57,7 +57,7 @@ enum si476x_mfd_cells { * @SI476X_POWER_DOWN: In this state all regulators are turned off * and the reset line is pulled low. The device is completely * inactive. - * @SI476X_POWER_UP_FULL: In this state all the power regualtors are + * @SI476X_POWER_UP_FULL: In this state all the power regulators are * turned on, reset line pulled high, IRQ line is enabled(polling is * active for polling use scenario) and device is turned on with * POWER_UP command. The device is ready to be used. -- 2.29.2
| |