@@ -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
@@ -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
@@ -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.
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(-)