diff mbox series

dt-bindings: spi: delete unused required and adjust the item.

Message ID 6a86f8c481be417972ef1b1e3b902ccf95706547.1645149279.git.lhjeff911@gmail.com (mailing list archive)
State New, archived
Headers show
Series dt-bindings: spi: delete unused required and adjust the item. | expand

Commit Message

Li-hao Kuo Feb. 18, 2022, 1:56 a.m. UTC
delete unused required(clock-name)
adjust position (interrupts)

Fixes: 3b8ab4da34 ("spi: Fix test error for sp7021")

Reported-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Li-hao Kuo <lhjeff911@gmail.com>
---
 Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Rob Herring Feb. 24, 2022, 1:36 p.m. UTC | #1
On Thu, Feb 17, 2022 at 7:56 PM Li-hao Kuo <lhjeff911@gmail.com> wrote:
>
> delete unused required(clock-name)
> adjust position (interrupts)

Why? This seems like an unnecessary change.

Please write complete sentences that answer why this change is needed,
not what the change is. The diff describes what changed. In this case,
quoting the warning you are fixing is typical.

>
> Fixes: 3b8ab4da34 ("spi: Fix test error for sp7021")
>

There should not be a blank line here.

> Reported-by: Rob Herring <robh+dt@kernel.org>
> Signed-off-by: Li-hao Kuo <lhjeff911@gmail.com>
> ---
>  Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml b/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml
> index 298eac2..9df08d7 100644
> --- a/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml
> @@ -47,10 +47,9 @@ required:
>    - compatible
>    - reg
>    - reg-names
> -  - interrupts
>    - interrupt-names
> +  - interrupts
>    - clocks
> -  - clocks-names
>    - resets
>    - pinctrl-names
>    - pinctrl-0
> --
> 2.7.4
>
Lh Kuo 郭力豪 Feb. 25, 2022, 1:23 a.m. UTC | #2
Hi Mr.Rob Herring :

I am sorry for that.
This patch will fix testing issues as clock names are not used
Checking for a patch will show a warning
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml b/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml
index 298eac2..9df08d7 100644
--- a/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml
@@ -47,10 +47,9 @@  required:
   - compatible
   - reg
   - reg-names
-  - interrupts
   - interrupt-names
+  - interrupts
   - clocks
-  - clocks-names
   - resets
   - pinctrl-names
   - pinctrl-0