dt-bindings: mfd: hisilicon,hi6421-spmi-pmic: Clean up example
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 6 Dec 2023 11:17:53 +0000 (12:17 +0100)
committerLee Jones <lee@kernel.org>
Thu, 7 Dec 2023 17:01:49 +0000 (17:01 +0000)
commit1aa77a7ed020721c6c4a3da16ea3a970f2ce4eea
tree27e8242a67632901e71841ab3d3c3c5cb937bbd3
parentd5c005ff9fe33dc7c2c3e13d1bdca698f441ac86
dt-bindings: mfd: hisilicon,hi6421-spmi-pmic: Clean up example

The SPMI PMIC sits on an SPMI bus which and has two address cells with
no size.

Clean up the example by adding a parent SPMI bus node with proper
'#address-cells' and '#size-cells' properties, using a define for the
second register value, dropping the unnecessary label and increasing the
indentation to four spaces.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231206111754.7410-4-johan+linaro@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml