diff mbox series

ARM: dts: sun8i-h3: Drop args in 'thermal-sensors'

Message ID 20220204002802.1214602-1-robh@kernel.org (mailing list archive)
State New, archived
Headers show
Series ARM: dts: sun8i-h3: Drop args in 'thermal-sensors' | expand

Commit Message

Rob Herring (Arm) Feb. 4, 2022, 12:28 a.m. UTC
The "allwinner,sun8i-h3-ths" thermal sensor has 0 argument cells, but
the consumer has an argument cell. It is ignored by the code, but the
error was found with some upcoming schema validation changes. The schema
and code both agree that 0 cells is correct.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 arch/arm/boot/dts/sun8i-h3.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Maxime Ripard Feb. 7, 2022, 9:24 a.m. UTC | #1
On Thu, 3 Feb 2022 18:28:01 -0600, Rob Herring wrote:
> The "allwinner,sun8i-h3-ths" thermal sensor has 0 argument cells, but
> the consumer has an argument cell. It is ignored by the code, but the
> error was found with some upcoming schema validation changes. The schema
> and code both agree that 0 cells is correct.
> 
> 

Applied to sunxi/linux.git (sunxi/dt-for-5.18).

Thanks!
Maxime
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 845f25235407..eac2349a2380 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -245,7 +245,7 @@  thermal-zones {
 		cpu_thermal: cpu-thermal {
 			polling-delay-passive = <0>;
 			polling-delay = <0>;
-			thermal-sensors = <&ths 0>;
+			thermal-sensors = <&ths>;
 
 			trips {
 				cpu_hot_trip: cpu-hot {