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 <[email protected]>
---
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>;
};
--
1.9.1
On Thu, 19 Jul 2018 16:51:50 +0200
Fabrice Gasnier <[email protected]> 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 <[email protected]>
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>;
> };