]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: leds: cznic,turris-omnia-leds: fix error in binding
authorMarek Behún <marek.behun@nic.cz>
Tue, 15 Sep 2020 00:54:26 +0000 (02:54 +0200)
committerRob Herring <robh@kernel.org>
Wed, 16 Sep 2020 03:03:07 +0000 (21:03 -0600)
commit9f96d758bcb0db878e55873e3f5ccebdc0ba7084
tree382e5855f9feb1fcabc5d3d651c89fa29d9b9f67
parent62e52819a3d0604a09c164ccc728c39c13f4aaae
dt-bindings: leds: cznic,turris-omnia-leds: fix error in binding

There is a bug in the device tree binding for cznic,turris-omnia-leds
which causes make dt_binding_check to complain.

The reason is that the multi-led property binding's regular expression
does not contain the `@` character, while the example nodes do.

Fix this, and also adjust the maximum address to 'b' as there are 12
LEDs.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Link: https://lore.kernel.org/r/20200915005426.15957-1-marek.behun@nic.cz
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml