Re: [PATCH 2/2] gpio: tps65218: drop unneeded MODULE_ALIAS
From: Bartosz Golaszewski
Date: Wed Sep 22 2021 - 06:14:21 EST
On Thu, Sep 16, 2021 at 6:46 PM Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxxxxx> wrote:
>
> The MODULE_DEVICE_TABLE already creates proper alias for platform
> driver. Having another MODULE_ALIAS causes the alias to be duplicated.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
> ---
> drivers/gpio/gpio-tps65218.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-tps65218.c b/drivers/gpio/gpio-tps65218.c
> index 3517debe2b0b..912382be48e1 100644
> --- a/drivers/gpio/gpio-tps65218.c
> +++ b/drivers/gpio/gpio-tps65218.c
> @@ -230,4 +230,3 @@ module_platform_driver(tps65218_gpio_driver);
> MODULE_AUTHOR("Nicolas Saenz Julienne <nicolassaenzj@xxxxxxxxx>");
> MODULE_DESCRIPTION("GPO interface for TPS65218 PMICs");
> MODULE_LICENSE("GPL v2");
> -MODULE_ALIAS("platform:tps65218-gpio");
> --
> 2.30.2
>
Applied, thanks!
Bart