Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1684230 > unrolled thread

[PATCH 2/4] iio: dac: stm32: fix error message

Started byFabrice Gasnier <fabrice.gasnier@st.com>
First post2017-07-10 15:30 +0200
Last post2017-07-10 23:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/4] iio: dac: stm32: fix error message Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-07-10 15:30 +0200
    Re: [PATCH 2/4] iio: dac: stm32: fix error message Jonathan Cameron <jic23@kernel.org> - 2017-07-10 23:00 +0200

#1684230 — [PATCH 2/4] iio: dac: stm32: fix error message

FromFabrice Gasnier <fabrice.gasnier@st.com>
Date2017-07-10 15:30 +0200
Subject[PATCH 2/4] iio: dac: stm32: fix error message
Message-ID<u1GVb-5yK-1@gated-at.bofh.it>
Fix error message, there's no 'st,dac-channel' property, but 'reg'
(see https://lkml.org/lkml/2017/4/3/567).

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
---
 drivers/iio/dac/stm32-dac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/dac/stm32-dac.c b/drivers/iio/dac/stm32-dac.c
index 50f8ec0..c1864e8 100644
--- a/drivers/iio/dac/stm32-dac.c
+++ b/drivers/iio/dac/stm32-dac.c
@@ -268,7 +268,7 @@ static int stm32_dac_chan_of_init(struct iio_dev *indio_dev)
 			break;
 	}
 	if (i >= ARRAY_SIZE(stm32_dac_channels)) {
-		dev_err(&indio_dev->dev, "Invalid st,dac-channel\n");
+		dev_err(&indio_dev->dev, "Invalid reg property\n");
 		return -EINVAL;
 	}
 
-- 
1.9.1

[toc] | [next] | [standalone]


#1684635

FromJonathan Cameron <jic23@kernel.org>
Date2017-07-10 23:00 +0200
Message-ID<u1NWG-1rM-29@gated-at.bofh.it>
In reply to#1684230
On Mon, 10 Jul 2017 15:23:58 +0200
Fabrice Gasnier <fabrice.gasnier@st.com> wrote:

> Fix error message, there's no 'st,dac-channel' property, but 'reg'
> (see https://lkml.org/lkml/2017/4/3/567).
> 
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Applied.

Thanks,

Joanthan
> ---
>  drivers/iio/dac/stm32-dac.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/dac/stm32-dac.c b/drivers/iio/dac/stm32-dac.c
> index 50f8ec0..c1864e8 100644
> --- a/drivers/iio/dac/stm32-dac.c
> +++ b/drivers/iio/dac/stm32-dac.c
> @@ -268,7 +268,7 @@ static int stm32_dac_chan_of_init(struct iio_dev *indio_dev)
>  			break;
>  	}
>  	if (i >= ARRAY_SIZE(stm32_dac_channels)) {
> -		dev_err(&indio_dev->dev, "Invalid st,dac-channel\n");
> +		dev_err(&indio_dev->dev, "Invalid reg property\n");
>  		return -EINVAL;
>  	}
>  

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web