]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: rtc-2123: Make the node name generic
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 5 May 2018 03:10:31 +0000 (00:10 -0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 14 May 2018 13:27:50 +0000 (15:27 +0200)
According to Devicetree Specification v0.2 document:

"The name of a node should be somewhat generic, reflecting the function
of the device and not its precise programming model."

Do as suggested in the binding example.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/nxp,rtc-2123.txt

index 5cbc0b145a619ed081ab2f762ba98222a3f498bb..811124a36d167dda3f8a873e859eb5baf69a99c5 100644 (file)
@@ -9,7 +9,7 @@ Optional properties:
 
 Example:
 
-rtc: nxp,rtc-pcf2123@3 {
+pcf2123: rtc@3 {
        compatible = "nxp,rtc-pcf2123"
        reg = <3>
        spi-cs-high;