[PATCH 15/23] gpio: nomadik: change driver name from gpio to gpio-nomadik

From: Théo Lebrun
Date: Wed Feb 14 2024 - 11:27:44 EST


This GPIO driver is historically related to the Nomadik platform. It
however can be used by others as it implements the ST STA2X11 IP block.
Pick a less ambiguous name for it.

Signed-off-by: Théo Lebrun <theo.lebrun@xxxxxxxxxxx>
---
drivers/gpio/gpio-nomadik.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-nomadik.c b/drivers/gpio/gpio-nomadik.c
index 2e7d3840b714..25c8490aa1b6 100644
--- a/drivers/gpio/gpio-nomadik.c
+++ b/drivers/gpio/gpio-nomadik.c
@@ -647,7 +647,7 @@ static const struct of_device_id nmk_gpio_match[] = {

static struct platform_driver nmk_gpio_driver = {
.driver = {
- .name = "gpio",
+ .name = "nomadik-gpio",
.of_match_table = nmk_gpio_match,
},
.probe = nmk_gpio_probe,

--
2.43.1