From 29fbd1ede894cc945e9d78dcadaa068c4c37b272 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Tue, 23 Aug 2022 16:25:53 +0200 Subject: [PATCH] devicetree: remove usage of deprecated label property Devicetree label property has been deprecated, so remove its usage. Signed-off-by: Gerard Marull-Paretas --- app/boards/nucleo_f302r8.overlay | 1 - boards/arm/custom_plank/custom_plank.dts | 1 - dts/bindings/sensor/zephyr,examplesensor.yaml | 1 - 3 files changed, 3 deletions(-) diff --git a/app/boards/nucleo_f302r8.overlay b/app/boards/nucleo_f302r8.overlay index aa964ba..c792480 100644 --- a/app/boards/nucleo_f302r8.overlay +++ b/app/boards/nucleo_f302r8.overlay @@ -12,7 +12,6 @@ / { examplesensor0: examplesensor_0 { compatible = "zephyr,examplesensor"; - label = "EXAMPLESENSOR_0"; input-gpios = <&gpioc 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; }; }; diff --git a/boards/arm/custom_plank/custom_plank.dts b/boards/arm/custom_plank/custom_plank.dts index e188102..b17cedd 100644 --- a/boards/arm/custom_plank/custom_plank.dts +++ b/boards/arm/custom_plank/custom_plank.dts @@ -18,7 +18,6 @@ examplesensor0: examplesensor_0 { compatible = "zephyr,examplesensor"; - label = "EXAMPLESENSOR_0"; input-gpios = <&gpio0 11 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; }; }; diff --git a/dts/bindings/sensor/zephyr,examplesensor.yaml b/dts/bindings/sensor/zephyr,examplesensor.yaml index 8b73087..41f9d9e 100644 --- a/dts/bindings/sensor/zephyr,examplesensor.yaml +++ b/dts/bindings/sensor/zephyr,examplesensor.yaml @@ -9,7 +9,6 @@ description: | examplesensor { compatible = "zephyr,examplesensor"; - label = "EXAMPLESENSOR"; input-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; };