diff mbox series

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

Message ID 1597461262-25878-3-git-send-email-u0084500@gmail.com
State Not Applicable, archived
Headers show
Series None | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

ChiYuan Huang Aug. 15, 2020, 3:14 a.m. UTC
From: ChiYuan Huang <cy_huang@richtek.com>

Fix the dt-binding document for dtc check.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
---
 .../devicetree/bindings/regulator/richtek,rt4801-regulator.yaml        | 3 ---
 1 file changed, 3 deletions(-)

Comments

Rob Herring Aug. 17, 2020, 7:45 p.m. UTC | #1
On Sat, Aug 15, 2020 at 11:14:22AM +0800, cy_huang wrote:
> From: ChiYuan Huang <cy_huang@richtek.com>
> 
> Fix the dt-binding document for dtc check.

This should be squashed into the prior patch.

> 
> Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
> ---
>  .../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
>
diff mbox series

Patch

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
-
 examples:
   - |
     i2c {