public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] iio:health:afe4403: Fix naming of tx supply to match dt-bindings
@ 2020-11-28 16:23 Jonathan Cameron
  2020-11-28 16:23 ` [PATCH 2/2] iio:health:afe4404: " Jonathan Cameron
  2021-02-21 16:27 ` [PATCH 1/2] iio:health:afe4403: " Jonathan Cameron
  0 siblings, 2 replies; 3+ messages in thread
From: Jonathan Cameron @ 2020-11-28 16:23 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron

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")
---
 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);
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] iio:health:afe4404: Fix naming of tx supply to match dt-bindings
  2020-11-28 16:23 [PATCH 1/2] iio:health:afe4403: Fix naming of tx supply to match dt-bindings Jonathan Cameron
@ 2020-11-28 16:23 ` Jonathan Cameron
  2021-02-21 16:27 ` [PATCH 1/2] iio:health:afe4403: " Jonathan Cameron
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2020-11-28 16:23 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron

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 --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);
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] iio:health:afe4403: Fix naming of tx supply to match dt-bindings
  2020-11-28 16:23 [PATCH 1/2] iio:health:afe4403: Fix naming of tx supply to match dt-bindings Jonathan Cameron
  2020-11-28 16:23 ` [PATCH 2/2] iio:health:afe4404: " Jonathan Cameron
@ 2021-02-21 16:27 ` Jonathan Cameron
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2021-02-21 16:27 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron

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);


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-21 16:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-28 16:23 [PATCH 1/2] iio:health:afe4403: Fix naming of tx supply to match dt-bindings Jonathan Cameron
2020-11-28 16:23 ` [PATCH 2/2] iio:health:afe4404: " Jonathan Cameron
2021-02-21 16:27 ` [PATCH 1/2] iio:health:afe4403: " Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox