diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mfd/tps65910.c | 9 | ||||
| -rw-r--r-- | drivers/regulator/tps65910-regulator.c | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c index f40d98b892c..7d1a1769bb1 100644 --- a/drivers/mfd/tps65910.c +++ b/drivers/mfd/tps65910.c @@ -367,7 +367,7 @@ static int tps65910_sleepinit(struct tps65910 *tps65910, dev = tps65910->dev; - /* set polarity of SLLEEPSIG requst ot enter OFF mode */ + /* set polarity of SLEEPSIG request to enter OFF mode */ ret = tps65910_reg_set_bits(tps65910, TPS65910_DEVCTRL2, DEVCTRL2_SLEEPSIG_POL_MASK); if (ret < 0) { @@ -376,7 +376,7 @@ static int tps65910_sleepinit(struct tps65910 *tps65910, } /* - * set polarity of SLLEEPSIG requst to enter OFF mode + * set polarity of SLEEPSIG request to enter OFF mode * before enabling sleep */ ret = tps65910_reg_set_bits(tps65910, TPS65910_DEVCTRL2, @@ -503,7 +503,8 @@ static struct tps65910_board *tps65910_parse_dt(struct i2c_client *client, board_info->slp_keepon.clkout32k_keepon = prop; board_info->irq = client->irq; - board_info->irq_base = -1; + /* board_info->irq_base = -1; */ + board_info->irq_base = 0; /* OLIO: if (-1) is true ... seems weird. */ board_info->pm_off = of_property_read_bool(np, "ti,system-power-controller"); @@ -534,7 +535,7 @@ static void tps65910_power_off(void) } static int tps65910_i2c_probe(struct i2c_client *i2c, - const struct i2c_device_id *id) + const struct i2c_device_id *id) { struct tps65910 *tps65910; struct tps65910_board *pmic_plat_data; diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c index 46e5f663151..0e42a7be2ab 100644 --- a/drivers/regulator/tps65910-regulator.c +++ b/drivers/regulator/tps65910-regulator.c @@ -410,7 +410,7 @@ static unsigned int tps65910_get_mode(struct regulator_dev *dev) struct tps65910_reg *pmic = rdev_get_drvdata(dev); int ret, reg, value, id = rdev_get_id(dev); - dev_info(&(dev->dev), "Getting mode for regulator: %d", reg); + /* dev_info(&(dev->dev), "Getting mode for regulator: %d", reg); */ reg = pmic->get_ctrl_reg(id); if (reg < 0) return reg; |