dt-bindings: mfd: mc13xxx: Add the unit address to sysled
Subsystems (2)
PATCH v2 1/1 dt-bindings: mfd: mc13xxx: Add the unit address to sysled
From: Fabio Estevam <[email protected]>
As the 'reg' property is mandatory in the subnodes, improve the example by adding the unit address to the sysled node.
This prevents the following build warning with W=1:
Node /soc/aips@70000000/spba@70000000/ecspi@70010000/pmic@0/leds/sysled has a reg or ranges property, but no unit name
Signed-off-by Fabio Estevam <[email protected]>
Reviewed-by Rob Herring <[email protected]>
---
Changes since v1:
- Use the correct name (sysled_ in the warning message (Rob)
Documentation/devicetree/bindings/mfd/mc13xxx.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/mfd/mc13xxx.txt +1 -1
@@ -130,7 +130,7 @@ ecspi@70010000 { /* ECSPI1 */ #size-cells = <0>; led-control = <0x000 0x000 0x0e0 0x000>; - sysled { + sysled@3 { reg = <3>; label = "system:red:live"; linux,default-trigger = "heartbeat";
Signature · 6 lines
2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html