Re: [PATCH 1/2] gpio: max77620: drop unneeded MODULE_ALIAS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-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@xxxxxxxxxx>");
>  MODULE_AUTHOR("Chaitanya Bandi <bandik@xxxxxxxxxx>");
> -MODULE_ALIAS("platform:max77620-gpio");
>  MODULE_LICENSE("GPL v2");
> --
> 2.30.2
>

Applied, thanks!

Bart



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux