diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2026-09-15 19:03:51 +0200 |
|---|---|---|
| committer | Rob Herring (Arm) <robh@kernel.org> | 2026-09-16 15:17:07 -0500 |
| commit | c08fe4da4acc36103152cd310a9eb64a99c161d2 (patch) | |
| tree | b2ec68d9c4819395720dae7b475c063c6c506130 /rust/kernel/alloc/kvec/errors.rs | |
| parent | e97e9becf957216855a6b182ca5c1d0bc5e5065d (diff) | |
dtc: dt-check-style: Relax property ordering rules (drop alphabetical)
Existing rules checked whether properties follow DTS Coding Style
guidelines in respect of common properties and standard vs vendor
properties, plus additionally it enforced alphabetical order within each
of such group.
The in-tree DTS does not follow such style at all, so this lead to many
warnings. There is little value in fixing these warnings, because DTS
with non-alphabetical order of properties is exactly the same readable,
even though DTS Coding Style mentions natural order. Actually groupping
properties logically, e.g. all supplies together regardless of their
name, is more readable than pure natural sort.
Relax the property order rules to the most important aspects
(device_type, reg/reg-names, ranges, standard properties, vendor
properties, status) and skip the alphabetical sorting completely.
Assisted-by: LLM
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260915-b4-dts-style-checker-continued-lines-v4-7-5b8e09b11ef2@oss.qualcomm.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
