Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: ad7192: Fix DTC warning in the example

The example contains an SPI bus and device, but doesn't have the
appropriate size and address cells size.

This creates a DTC warning when the example is compiled since the default
ones will not match what the device uses. Let's add them to remove that
warning.

Fixes: f7356e47032c ("dt-bindings: iio: adc: ad7192: Add binding documentation for AD7192")
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Maxime Ripard and committed by
Rob Herring
4d32db74 932bae3a

+3
+3
Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
··· 95 95 examples: 96 96 - | 97 97 spi0 { 98 + #address-cells = <1>; 99 + #size-cells = <0>; 100 + 98 101 adc@0 { 99 102 compatible = "adi,ad7192"; 100 103 reg = <0>;