diff options
author | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-09-07 16:48:33 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-11-28 11:35:59 +0100 |
commit | 7d94610e1612d9d0249425542c2675b68f6f9b36 (patch) | |
tree | 77453b24e9f036de2ae074e028c0a24b36a5ce42 /arch/arm/boot/dts/sun5i-a13-licheepi-one.dts | |
parent | 39bfc2311ca24728357b551708f4d8b950fa4e05 (diff) | |
download | lwn-7d94610e1612d9d0249425542c2675b68f6f9b36.tar.gz lwn-7d94610e1612d9d0249425542c2675b68f6f9b36.zip |
ARM: dts: sun5i: Change LRADC node names to avoid warnings
One of the usage of the LRADC is to implement buttons. The bindings define
that we should have one subnode per button, with their associated voltage
as a property.
However, there was no reg property but we still used the voltage associated
to the button as the unit-address, which eventually generated warnings in
DTC.
Rename the node names to avoid those warnings.
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm/boot/dts/sun5i-a13-licheepi-one.dts')
-rw-r--r-- | arch/arm/boot/dts/sun5i-a13-licheepi-one.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun5i-a13-licheepi-one.dts b/arch/arm/boot/dts/sun5i-a13-licheepi-one.dts index bc883893f4a4..93a080e7ba2d 100644 --- a/arch/arm/boot/dts/sun5i-a13-licheepi-one.dts +++ b/arch/arm/boot/dts/sun5i-a13-licheepi-one.dts @@ -124,7 +124,7 @@ vref-supply = <®_ldo2>; status = "okay"; - button@984 { + button-984 { label = "Home"; linux,code = <KEY_HOMEPAGE>; channel = <0>; |