Re: [PATCH] dt-bindings: iio: sigma-delta-modulator: fix unit-address in example

From: Jonathan Cameron
Date: Sat Jul 21 2018 - 12:16:39 EST


On Thu, 19 Jul 2018 16:51:50 +0200
Fabrice Gasnier <fabrice.gasnier@xxxxxx> wrote:

> Device tree compiler gives a warning if a device node has "@"
> but no reg property.
> Fix the example in iio: adc: sigma-delta-modulator.
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@xxxxxx>
Applied to the togreg branch of iio.git and pushed out as testing
to be completely ignored by the autobuilders.

Thanks,

Jonathan

> ---
> Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt b/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt
> index ba24ca7..59b92cd 100644
> --- a/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt
> +++ b/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.txt
> @@ -7,7 +7,7 @@ Required properties:
>
> Example node:
>
> - ads1202: adc@0 {
> + ads1202: adc {
> compatible = "sd-modulator";
> #io-channel-cells = <0>;
> };