diff mbox series

fixed-regulator: dt-bindings: Fixed building error for compatible property

Message ID 1568875145-2864-1-git-send-email-pragnesh.patel@sifive.com
State Not Applicable, archived
Headers show
Series fixed-regulator: dt-bindings: Fixed building error for compatible property | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Pragnesh Patel Sept. 19, 2019, 6:39 a.m. UTC
Compatible property is not of type 'string', so remove const:
from it.

Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
---
 Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rob Herring Sept. 19, 2019, 9:01 p.m. UTC | #1
On Thu, Sep 19, 2019 at 1:39 AM Pragnesh Patel
<pragnesh.patel@sifive.com> wrote:
>
> Compatible property is not of type 'string', so remove const:
> from it.
>
> Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
> ---
>  Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Rob Herring <robh@kernel.org>
Mark Brown Sept. 20, 2019, 10:55 a.m. UTC | #2
On Thu, Sep 19, 2019 at 12:09:04PM +0530, Pragnesh Patel wrote:
> Compatible property is not of type 'string', so remove const:
> from it.

Please use subject lines matching the style for the subsystem.  This
makes it easier for people to identify relevant patches.  There's no
need to resubmit to fix this alone.
Rob Herring Oct. 2, 2019, 7:23 p.m. UTC | #3
On Tue, Oct 1, 2019 at 6:41 AM Mark Brown <broonie@kernel.org> wrote:
>
> The patch
>
>    fixed-regulator: dt-bindings: Fixed building error for compatible property
>
> has been applied to the regulator tree at
>
>    https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.5

This needs to go into 5.4 fixes.

Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
index a78150c..f324169 100644
--- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
@@ -30,8 +30,8 @@  if:
 properties:
   compatible:
     enum:
-      - const: regulator-fixed
-      - const: regulator-fixed-clock
+      - regulator-fixed
+      - regulator-fixed-clock
 
   regulator-name: true