diff mbox

mfd: palmas: Fixed spelling mistake in error message.

Message ID 20170411161006.cp4mdyxxjd5f2ixn@willis-laptop (mailing list archive)
State New, archived
Headers show

Commit Message

willismonroe@gmail.com April 11, 2017, 4:10 p.m. UTC
Fixed a small spelling mistake ("updat" -> "update") in an error message.

Signed-off-by: Willis Monroe <willismonroe@gmail.com>
---
 drivers/mfd/palmas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lee Jones April 11, 2017, 4:22 p.m. UTC | #1
On Tue, 11 Apr 2017, Willis Monroe wrote:

> Fixed a small spelling mistake ("updat" -> "update") in an error message.
> 
> Signed-off-by: Willis Monroe <willismonroe@gmail.com>
> ---
>  drivers/mfd/palmas.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Nice!

Applied, thanks.

> diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c
> index ee9e9ea..dbb6d42 100644
> --- a/drivers/mfd/palmas.c
> +++ b/drivers/mfd/palmas.c
> @@ -567,7 +567,7 @@ static int palmas_i2c_probe(struct i2c_client *i2c,
>  			PALMAS_POLARITY_CTRL, PALMAS_POLARITY_CTRL_INT_POLARITY,
>  			reg);
>  	if (ret < 0) {
> -		dev_err(palmas->dev, "POLARITY_CTRL updat failed: %d\n", ret);
> +		dev_err(palmas->dev, "POLARITY_CTRL update failed: %d\n", ret);
>  		goto err_i2c;
>  	}
>
diff mbox

Patch

diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c
index ee9e9ea..dbb6d42 100644
--- a/drivers/mfd/palmas.c
+++ b/drivers/mfd/palmas.c
@@ -567,7 +567,7 @@  static int palmas_i2c_probe(struct i2c_client *i2c,
 			PALMAS_POLARITY_CTRL, PALMAS_POLARITY_CTRL_INT_POLARITY,
 			reg);
 	if (ret < 0) {
-		dev_err(palmas->dev, "POLARITY_CTRL updat failed: %d\n", ret);
+		dev_err(palmas->dev, "POLARITY_CTRL update failed: %d\n", ret);
 		goto err_i2c;
 	}