[PATCH v3 16/17] dt-bindings: mtd: Drop object types when referencing other files

Miquel Raynal posted 17 patches 3 years, 4 months ago
[PATCH v3 16/17] dt-bindings: mtd: Drop object types when referencing other files
Posted by Miquel Raynal 3 years, 4 months ago
Setting an object type is redundant when a reference is made, so drop
these useless lines.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/mtd/mtd.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mtd/mtd.yaml b/Documentation/devicetree/bindings/mtd/mtd.yaml
index 9ee285b7d162..78da129e9985 100644
--- a/Documentation/devicetree/bindings/mtd/mtd.yaml
+++ b/Documentation/devicetree/bindings/mtd/mtd.yaml
@@ -43,7 +43,6 @@ patternProperties:
     deprecated: true
 
   "^otp(-[0-9]+)?$":
-    type: object
     $ref: ../nvmem/nvmem.yaml#
 
     description: |
-- 
2.34.1
Re: [PATCH v3 16/17] dt-bindings: mtd: Drop object types when referencing other files
Posted by Miquel Raynal 3 years, 4 months ago
On Mon, 2022-11-14 at 09:03:14 UTC, Miquel Raynal wrote:
> Setting an object type is redundant when a reference is made, so drop
> these useless lines.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
> Reviewed-by: Rob Herring <robh@kernel.org>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next.

Miquel