diff mbox series

[2/2] iio:health:afe4404: Fix naming of tx supply to match dt-bindings

Message ID 20201128162334.382837-2-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series [1/2] iio:health:afe4403: Fix naming of tx supply to match dt-bindings | expand

Commit Message

Jonathan Cameron Nov. 28, 2020, 4:23 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

This has always been inconsistent.  The binding naming is better
so lets us standardise on that.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Fixes: 87aec56e27ef ("iio: health: Add driver for the TI AFE4404 heart monitor")
---
 drivers/iio/health/afe4404.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/iio/health/afe4404.c b/drivers/iio/health/afe4404.c
index 61fe4932d81d..95547864fe8e 100644
--- a/drivers/iio/health/afe4404.c
+++ b/drivers/iio/health/afe4404.c
@@ -493,7 +493,7 @@  static int afe4404_probe(struct i2c_client *client,
 		}
 	}
 
-	afe->regulator = devm_regulator_get(afe->dev, "tx_sup");
+	afe->regulator = devm_regulator_get(afe->dev, "tx");
 	if (IS_ERR(afe->regulator)) {
 		dev_err(afe->dev, "Unable to get regulator\n");
 		return PTR_ERR(afe->regulator);