[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMpxmJUbRu2WRWZoMyLUc=tr7Zp5juZWrTex9SRHDfzOXWmSBA@mail.gmail.com>
Date: Wed, 22 Sep 2021 12:12:55 +0200
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
linux-gpio <linux-gpio@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] gpio: max77620: drop unneeded MODULE_ALIAS
On Thu, Sep 16, 2021 at 6:46 PM Krzysztof Kozlowski
<krzysztof.kozlowski@...onical.com> 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@...onical.com>
> ---
> drivers/gpio/gpio-max77620.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio-max77620.c
> index 82b3a913005d..ebf9dea6546b 100644
> --- a/drivers/gpio/gpio-max77620.c
> +++ b/drivers/gpio/gpio-max77620.c
> @@ -365,5 +365,4 @@ module_platform_driver(max77620_gpio_driver);
> MODULE_DESCRIPTION("GPIO interface for MAX77620 and MAX20024 PMIC");
> MODULE_AUTHOR("Laxman Dewangan <ldewangan@...dia.com>");
> MODULE_AUTHOR("Chaitanya Bandi <bandik@...dia.com>");
> -MODULE_ALIAS("platform:max77620-gpio");
> MODULE_LICENSE("GPL v2");
> --
> 2.30.2
>
Applied, thanks!
Bart
Powered by blists - more mailing lists