Re: [PATCH v8] pinctrl: tps6594: Add driver for TPS6594 pinctrl and GPIOs

From: Krzysztof Kozlowski
Date: Fri Nov 03 2023 - 02:54:05 EST


On 02/11/2023 11:13, Esteban Blanc wrote:
> TI TPS6594 PMIC has 11 GPIOs which can be used
> for different functions.
>
> This patch adds a pinctrl and GPIO drivers in
> order to use those functions.
>
> Signed-off-by: Esteban Blanc <eblanc@xxxxxxxxxxxx>
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>

...

> +
> +static struct platform_driver tps6594_pinctrl_driver = {
> + .probe = tps6594_pinctrl_probe,
> + .driver = {
> + .name = "tps6594-pinctrl",
> + },
> +};
> +module_platform_driver(tps6594_pinctrl_driver);
> +
> +MODULE_ALIAS("platform:tps6594-pinctrl");

Since kbuild reports build error (which is surprise for v8...), drop
also MODULE_ALIAS and use proper ID table.

Best regards,
Krzysztof