summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2019-11-21 15:08:01 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-25 09:29:23 +0100
commitc7ec778bbe2527254c2a05f990bb632c72d94563 (patch)
treea5d71176df72d605828b5a98570558e7fb246aec
parent4da3ec317ad7b284a2634da5a9e3e49baa58f2f5 (diff)
downloadbarebox-c7ec778bbe2527254c2a05f990bb632c72d94563.tar.gz
mfd: da9053: fix typo in variable name
Fixes: 06928c7d1758 (mfd: da9053: use new reset_source_set_device) Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/mfd/da9053.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/da9053.c b/drivers/mfd/da9053.c
index 1faba81..4c31beb 100644
--- a/drivers/mfd/da9053.c
+++ b/drivers/mfd/da9053.c
@@ -235,7 +235,7 @@ static void da9053_detect_reset_source(struct da9053_priv *da9053)
else
return;
- reset_source_set_device(da9053->dev, ltype);
+ reset_source_set_device(da9053->dev, type);
ret = da9053_reg_write(da9053, DA9053_FAULTLOG_REG, val);
if (ret < 0)