Re: [PATCH 3/3] regulator: rt4801: Fix the dt-binding document for dtc check.

From: Rob Herring
Date: Mon Aug 17 2020 - 15:45:46 EST


On Sat, Aug 15, 2020 at 11:14:22AM +0800, cy_huang wrote:
> From: ChiYuan Huang <cy_huang@xxxxxxxxxxx>
>
> Fix the dt-binding document for dtc check.

This should be squashed into the prior patch.

>
> Signed-off-by: ChiYuan Huang <cy_huang@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/regulator/richtek,rt4801-regulator.yaml | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/regulator/richtek,rt4801-regulator.yaml b/Documentation/devicetree/bindings/regulator/richtek,rt4801-regulator.yaml
> index 28d30e2..fa075c6 100644
> --- a/Documentation/devicetree/bindings/regulator/richtek,rt4801-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/richtek,rt4801-regulator.yaml
> @@ -49,9 +49,6 @@ required:
> - compatible
> - reg
>
> -additionalProperties:
> - - enable-gpios
> -

This should be:

additionalProperties: false

> examples:
> - |
> i2c {
> --
> 2.7.4
>