Skip to content

Commit

Permalink
dts: bindings: Remove dead 'label:' keys on properties
Browse files Browse the repository at this point in the history
Note that these appear as

  properties: {erase,write}-block-size: label: ...

rather than as

  properties: label: ...

I can't see anything looking at 'label' for individual properties in
bindings, so it's probably dead code. Labels are fetched from the device
tree in extract/flash.py.

Piggyback removal of some 'generation: define's and a redundant pair of
YAML document separators.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
  • Loading branch information
ulfalizer authored and galak committed Jul 16, 2019
1 parent e0965fa commit d4b3381
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
4 changes: 1 addition & 3 deletions dts/bindings/mmc/mmc.yaml
Expand Up @@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0
#
---

title: MMC/SDHC module
version: 0.1

Expand All @@ -18,5 +18,3 @@ properties:
type: array
category: optional
description: Clock gate information
generation: define
...
2 changes: 0 additions & 2 deletions dts/bindings/mmc/nxp,imx-usdhc.yaml
Expand Up @@ -24,13 +24,11 @@ properties:
type: compound
category: optional
description: Power pin
generation: define

cd-gpios:
type: compound
category: optional
description: Detect pin
generation: define

label:
category: required
Expand Down
2 changes: 0 additions & 2 deletions dts/bindings/mtd/jedec,spi-nor.yaml
Expand Up @@ -26,13 +26,11 @@ properties:
type: int
description: address alignment required by flash erase operations
category: optional
label: alignment

write-block-size:
type: int
description: address alignment required by flash write operations
category: optional
label: alignment

size:
type: int
Expand Down
2 changes: 0 additions & 2 deletions dts/bindings/mtd/soc-nv-flash.yaml
Expand Up @@ -19,10 +19,8 @@ properties:
type: int
description: address alignment required by flash erase operations
category: optional
label: alignment

write-block-size:
type: int
description: address alignment required by flash write operations
category: optional
label: alignment

0 comments on commit d4b3381

Please sign in to comment.