Commit 02cc4c30 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Jernej Skrabec
Browse files

dt-bindings: sram: narrow regex for unit address to hex numbers



Regular expression used to match the unit address part should not allow
non-hex numbers.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240123083450.20996-1-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
parent cbec6572
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ properties:
  ranges: true

patternProperties:
  "^sram@[a-z0-9]+":
  "^sram@[a-f0-9]+":
    $ref: /schemas/sram/sram.yaml#
    unevaluatedProperties: false