Message ID | 20191002144542.114722-2-mripard@kernel.org |
---|---|
State | Accepted, archived |
Headers | show |
Series | [1/2] dt-bindings: iio: ad7192: Fix Regulator Properties | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success |
On Wed, 2 Oct 2019 16:45:42 +0200, Maxime Ripard wrote: > 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> > --- > Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml | 3 +++ > 1 file changed, 3 insertions(+) > Applied, thanks. Rob
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml index 9e62f54c891a..567a33a83dce 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml @@ -95,6 +95,9 @@ required: examples: - | spi0 { + #address-cells = <1>; + #size-cells = <0>; + adc@0 { compatible = "adi,ad7192"; reg = <0>;
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> --- Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml | 3 +++ 1 file changed, 3 insertions(+)