diff options
author | Joel Spadin <[email protected]> | 2023-09-05 11:35:51 -0500 |
---|---|---|
committer | Joel Spadin <[email protected]> | 2023-12-04 20:06:54 -0600 |
commit | 179bdbc41a85165d3d535cd3b0df410ad0621662 (patch) | |
tree | 05906304c40b2146cb797aeead94ea8836ad63e5 /app/dts/bindings/behaviors/two_param.yaml | |
parent | dbe5dfb1d841f55f2ad853275206aa706d24770b (diff) | |
download | zmk-179bdbc41a85165d3d535cd3b0df410ad0621662.tar.gz zmk-179bdbc41a85165d3d535cd3b0df410ad0621662.zip |
refactor(behaviors): Make label property optional
Changed all code (except for layer names) which used the label property
to use DEVICE_DT_NAME() instead, which uses the label if set or falls
back to the full node name. This matches how Zephyr determines the node
names used with device_get_binding() and allows us to start removing the
deprecated label property from things.
Diffstat (limited to 'app/dts/bindings/behaviors/two_param.yaml')
-rw-r--r-- | app/dts/bindings/behaviors/two_param.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/dts/bindings/behaviors/two_param.yaml b/app/dts/bindings/behaviors/two_param.yaml index d4cdfaa00f..4f342301bb 100644 --- a/app/dts/bindings/behaviors/two_param.yaml +++ b/app/dts/bindings/behaviors/two_param.yaml @@ -4,7 +4,8 @@ properties: label: type: string - required: true + required: false + deprecated: true "#binding-cells": type: int required: true |