]> asedeno.scripts.mit.edu Git - linux.git/commit
dt-bindings: property-units: Sanitize unit naming
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 14 May 2019 08:50:24 +0000 (10:50 +0200)
committerRob Herring <robh@kernel.org>
Thu, 13 Jun 2019 20:29:43 +0000 (14:29 -0600)
commit573748081a66b2baacce5e0927c700e480a60c7c
treecb1d6751af402ab45833d967a3f527662097f71b
parent630eccfd0a0355dc18b7e4456d3479901fb108e9
dt-bindings: property-units: Sanitize unit naming

Make the naming of units consistent with common practices:
  - Do not capitalize the first character of units ("Celsius" is
    special, as it is not the unit name, but a reference to its
    proposer),
  - Do not use plural for units,
  - Do not abbreviate "ampere",
  - Concatenate prefixes and units (no spaces or hyphens),
  - Separate units by spaces not hyphens,
  - "milli" applies to "degree", not to "Celsius".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/property-units.txt