dt-bindings: iio: vadc: Add unit address to ADC channel node in example
authorMatthias Kaehlcke <mka@chromium.org>
Mon, 12 Nov 2018 22:11:25 +0000 (14:11 -0800)
committerAndy Gross <andy.gross@linaro.org>
Wed, 14 Nov 2018 18:19:10 +0000 (10:19 -0800)
commitb59b94f76e7fa257e92d8e8b0c79755493356861
treef1b2c934be4d51aae0a3e32946f4010d745c7a50
parent4884788b7ba1a2136f8eff5396d33246af7e55f2
dt-bindings: iio: vadc: Add unit address to ADC channel node in example

The node has a reg property, therefore its name should include a unit
address. Also change the name from 'usb_id_nopull' to 'adc-chan', which
is the preferred name for ADC channel nodes.

Include headers for constants used in the example.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.txt