Commit 80aec6f5 authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown

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

Trivial fix to spelling mistake in dev_err messages.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2ea659a9
...@@ -99,7 +99,7 @@ static int lp8755_buck_enable_time(struct regulator_dev *rdev) ...@@ -99,7 +99,7 @@ static int lp8755_buck_enable_time(struct regulator_dev *rdev)
ret = lp8755_read(pchip, 0x12 + id, &regval); ret = lp8755_read(pchip, 0x12 + id, &regval);
if (ret < 0) { 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 ret;
} }
return (regval & 0xff) * 100; return (regval & 0xff) * 100;
...@@ -144,7 +144,7 @@ static int lp8755_buck_set_mode(struct regulator_dev *rdev, unsigned int mode) ...@@ -144,7 +144,7 @@ static int lp8755_buck_set_mode(struct regulator_dev *rdev, unsigned int mode)
goto err_i2c; goto err_i2c;
return ret; return ret;
err_i2c: err_i2c:
dev_err(pchip->dev, "i2c acceess error %s\n", __func__); dev_err(pchip->dev, "i2c access error %s\n", __func__);
return ret; return ret;
} }
...@@ -175,7 +175,7 @@ static unsigned int lp8755_buck_get_mode(struct regulator_dev *rdev) ...@@ -175,7 +175,7 @@ static unsigned int lp8755_buck_get_mode(struct regulator_dev *rdev)
return REGULATOR_MODE_NORMAL; return REGULATOR_MODE_NORMAL;
err_i2c: err_i2c:
dev_err(pchip->dev, "i2c acceess error %s\n", __func__); dev_err(pchip->dev, "i2c access error %s\n", __func__);
return 0; return 0;
} }
...@@ -223,7 +223,7 @@ static int lp8755_buck_set_ramp(struct regulator_dev *rdev, int ramp) ...@@ -223,7 +223,7 @@ static int lp8755_buck_set_ramp(struct regulator_dev *rdev, int ramp)
goto err_i2c; goto err_i2c;
return ret; return ret;
err_i2c: err_i2c:
dev_err(pchip->dev, "i2c acceess error %s\n", __func__); dev_err(pchip->dev, "i2c access error %s\n", __func__);
return ret; return ret;
} }
...@@ -295,7 +295,7 @@ static int lp8755_init_data(struct lp8755_chip *pchip) ...@@ -295,7 +295,7 @@ static int lp8755_init_data(struct lp8755_chip *pchip)
return ret; return ret;
out_i2c_error: 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; return ret;
} }
...@@ -404,7 +404,7 @@ static irqreturn_t lp8755_irq_handler(int irq, void *data) ...@@ -404,7 +404,7 @@ static irqreturn_t lp8755_irq_handler(int irq, void *data)
return IRQ_HANDLED; return IRQ_HANDLED;
err_i2c: 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; return IRQ_NONE;
} }
...@@ -420,7 +420,7 @@ static int lp8755_int_config(struct lp8755_chip *pchip) ...@@ -420,7 +420,7 @@ static int lp8755_int_config(struct lp8755_chip *pchip)
ret = lp8755_read(pchip, 0x0F, &regval); ret = lp8755_read(pchip, 0x0F, &regval);
if (ret < 0) { 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 ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment