gpio: nomadik: change driver name from gpio to nomadik-gpio
authorThéo Lebrun <theo.lebrun@bootlin.com>
Wed, 28 Feb 2024 11:28:19 +0000 (12:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Feb 2024 09:35:20 +0000 (10:35 +0100)
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@bootlin.com>
Link: https://lore.kernel.org/r/20240228-mbly-gpio-v2-21-3ba757474006@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-nomadik.c

index 3ccbb731cb689c8172a4ca89b3059c76b7256e0a..c22a0864ca70c70d7d218242a0df2da9b60f3957 100644 (file)
@@ -649,7 +649,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,