[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6cf2f403-f765-cfcd-aa54-bb4264982b7f@roeck-us.net>
Date: Fri, 17 Sep 2021 06:47:56 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
linux-kernel@...r.kernel.org
Cc: Wim Van Sebroeck <wim@...ux-watchdog.org>,
linux-watchdog@...r.kernel.org
Subject: Re: [PATCH] watchdog: sbsa: drop unneeded MODULE_ALIAS
On 9/17/21 2:20 AM, Krzysztof Kozlowski 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>
Reviewed-by: Guenter Roeck <linux@...ck-us.net>
> ---
> drivers/watchdog/sbsa_gwdt.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/watchdog/sbsa_gwdt.c b/drivers/watchdog/sbsa_gwdt.c
> index ee9ff38929eb..87b496405871 100644
> --- a/drivers/watchdog/sbsa_gwdt.c
> +++ b/drivers/watchdog/sbsa_gwdt.c
> @@ -411,4 +411,3 @@ MODULE_AUTHOR("Suravee Suthikulpanit <Suravee.Suthikulpanit@....com>");
> MODULE_AUTHOR("Al Stone <al.stone@...aro.org>");
> MODULE_AUTHOR("Timur Tabi <timur@...eaurora.org>");
> MODULE_LICENSE("GPL v2");
> -MODULE_ALIAS("platform:" DRV_NAME);
>
Powered by blists - more mailing lists