diff mbox series

[1/4] spi: pl022: Align compatible property with device tree binding

Message ID 20230428123850.6444-1-stefan.herbrechtsmeier-oss@weidmueller.com
State Accepted
Commit ad77009d22866a708b25e596a8b59e207157af71
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [1/4] spi: pl022: Align compatible property with device tree binding | expand

Commit Message

Stefan Herbrechtsmeier April 28, 2023, 12:38 p.m. UTC
From: Lukas Funke <lukas.funke@weidmueller.com>

Align the compatible property with the kernel device tree binding [1]
by removing the '-spi' suffix.

[1] https://www.kernel.org/doc/Documentation/devicetree/bindings/spi/spi-pl022.yaml

Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
---

 drivers/spi/pl022_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jagan Teki June 2, 2023, 5:37 a.m. UTC | #1
On Fri, Apr 28, 2023 at 6:09 PM Stefan Herbrechtsmeier
<stefan.herbrechtsmeier-oss@weidmueller.com> wrote:
>
> From: Lukas Funke <lukas.funke@weidmueller.com>
>
> Align the compatible property with the kernel device tree binding [1]
> by removing the '-spi' suffix.
>
> [1] https://www.kernel.org/doc/Documentation/devicetree/bindings/spi/spi-pl022.yaml
>
> Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
> Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>

Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
diff mbox series

Patch

diff --git a/drivers/spi/pl022_spi.c b/drivers/spi/pl022_spi.c
index 828eab3d34..2986c4eb5a 100644
--- a/drivers/spi/pl022_spi.c
+++ b/drivers/spi/pl022_spi.c
@@ -307,7 +307,7 @@  static int pl022_spi_of_to_plat(struct udevice *bus)
 }
 
 static const struct udevice_id pl022_spi_ids[] = {
-	{ .compatible = "arm,pl022-spi" },
+	{ .compatible = "arm,pl022" },
 	{ }
 };
 #endif