dt-bindings: mtd: partitions: Fix partition node name pattern
authorRob Herring <robh@kernel.org>
Fri, 20 Jan 2023 02:04:53 +0000 (20:04 -0600)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 30 Jan 2023 16:03:46 +0000 (17:03 +0100)
commitc705e63a323a1a6c8d5830c2c3992586ef5fba26
tree8748fd87a25c450b241177b07c0f3d55ee1f6ed5
parenta30144c02c84614ed160ab70e38fcf7b024a1bb0
dt-bindings: mtd: partitions: Fix partition node name pattern

The 'partition' node name pattern is missing start and end anchors, so
anything is allowed before or after the regex pattern. There's no in tree
users needing that, so add anchors to the pattern.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Pratyush Yadav <ptyadav@amazon.de>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230120020454.3225796-1-robh@kernel.org
Documentation/devicetree/bindings/mtd/partitions/partitions.yaml