regulator: lp8755: fix spelling mistake "acceess" -> "access"

Trivial fix to spelling mistake in dev_err messages.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Colin Ian King 2017-05-10 09:30:20 +01:00 committed by Mark Brown
parent 2ea659a9ef
commit 80aec6f536

View file

@ -99,7 +99,7 @@ static int lp8755_buck_enable_time(struct regulator_dev *rdev)
ret = lp8755_read(pchip, 0x12 + id, &regval);
if (ret < 0) {
dev_err(pchip->dev, "i2c acceess error %s\n", __func__);
dev_err(pchip->dev, "i2c access error %s\n", __func__);
return ret;
}
return (regval & 0xff) * 100;
@ -144,7 +144,7 @@ static int lp8755_buck_set_mode(struct regulator_dev *rdev, unsigned int mode)
goto err_i2c;
return ret;
err_i2c:
dev_err(pchip->dev, "i2c acceess error %s\n", __func__);
dev_err(pchip->dev, "i2c access error %s\n", __func__);
return ret;
}
@ -175,7 +175,7 @@ static unsigned int lp8755_buck_get_mode(struct regulator_dev *rdev)
return REGULATOR_MODE_NORMAL;
err_i2c:
dev_err(pchip->dev, "i2c acceess error %s\n", __func__);
dev_err(pchip->dev, "i2c access error %s\n", __func__);
return 0;
}
@ -223,7 +223,7 @@ static int lp8755_buck_set_ramp(struct regulator_dev *rdev, int ramp)
goto err_i2c;
return ret;
err_i2c:
dev_err(pchip->dev, "i2c acceess error %s\n", __func__);
dev_err(pchip->dev, "i2c access error %s\n", __func__);
return ret;
}
@ -295,7 +295,7 @@ static int lp8755_init_data(struct lp8755_chip *pchip)
return ret;
out_i2c_error:
dev_err(pchip->dev, "i2c acceess error %s\n", __func__);
dev_err(pchip->dev, "i2c access error %s\n", __func__);
return ret;
}
@ -404,7 +404,7 @@ static irqreturn_t lp8755_irq_handler(int irq, void *data)
return IRQ_HANDLED;
err_i2c:
dev_err(pchip->dev, "i2c acceess error %s\n", __func__);
dev_err(pchip->dev, "i2c access error %s\n", __func__);
return IRQ_NONE;
}
@ -420,7 +420,7 @@ static int lp8755_int_config(struct lp8755_chip *pchip)
ret = lp8755_read(pchip, 0x0F, &regval);
if (ret < 0) {
dev_err(pchip->dev, "i2c acceess error %s\n", __func__);
dev_err(pchip->dev, "i2c access error %s\n", __func__);
return ret;
}