OSDN Git Service

iio: hx711: fix spurious unit-address in example
authorAndreas Klinger <ak@it-klinger.de>
Tue, 10 Jul 2018 18:19:37 +0000 (20:19 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Jul 2018 08:37:34 +0000 (09:37 +0100)
commit843429708e394a31d3298f9b6dfa8fca180f8bfa
treef78908d31b5a0cbf9af024d757d58c36ce9bff74
parent461631face58054c72b1f1453f2d66d71b1974e7
iio: hx711: fix spurious unit-address in example

Device tree compiler (dtc) gives a warning if a device node has "@" with a
following number as it's name but no reg property.

Fix the example in the documentation of avia,hx711 to conform to dtc
behavior.

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/avia-hx711.txt