Message ID | 20201128162334.382837-1-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 |
On Sat, 28 Nov 2020 16:23:33 +0000 Jonathan Cameron <jic23@kernel.org> wrote: > From: Jonathan Cameron <Jonathan.Cameron@huawei.com> > > These have always been different and the name tx_sup-supply that > would work for the driver is rather nonsensical so let us go with > what was described in the dt-binding doc. > > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> > Fixes: eec96d1e2d318 ("iio: health: Add driver for the TI AFE4403 heart monitor") Another old series that I could do with a sanity check / review on. Thanks, Jonathan > --- > drivers/iio/health/afe4403.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/health/afe4403.c b/drivers/iio/health/afe4403.c > index 38734e4ce360..94bbfc065bed 100644 > --- a/drivers/iio/health/afe4403.c > +++ b/drivers/iio/health/afe4403.c > @@ -486,7 +486,7 @@ static int afe4403_probe(struct spi_device *spi) > } > } > > - 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);
diff --git a/drivers/iio/health/afe4403.c b/drivers/iio/health/afe4403.c index 38734e4ce360..94bbfc065bed 100644 --- a/drivers/iio/health/afe4403.c +++ b/drivers/iio/health/afe4403.c @@ -486,7 +486,7 @@ static int afe4403_probe(struct spi_device *spi) } } - 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);