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 |
Context | Check | Description |
---|---|---|
robh/checkpatch | success |
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>
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.
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 --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
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(-)