Re: [PATCH] watchdog: sbsa: drop unneeded MODULE_ALIAS

From: Guenter Roeck
Date: Fri Sep 17 2021 - 09:48:02 EST


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@xxxxxxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>

---
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@xxxxxxx>");
MODULE_AUTHOR("Al Stone <al.stone@xxxxxxxxxx>");
MODULE_AUTHOR("Timur Tabi <timur@xxxxxxxxxxxxxx>");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:" DRV_NAME);