* [PATCH] input: max77693-haptic: drop unneeded MODULE_ALIAS
@ 2021-09-16 17:05 Krzysztof Kozlowski
2021-10-17 4:17 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2021-09-16 17:05 UTC (permalink / raw)
To: linux-kernel; +Cc: Krzysztof Kozlowski, Dmitry Torokhov, linux-input
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@canonical.com>
---
drivers/input/misc/max77693-haptic.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/input/misc/max77693-haptic.c b/drivers/input/misc/max77693-haptic.c
index 0d09ffeafeea..4369d3c04d38 100644
--- a/drivers/input/misc/max77693-haptic.c
+++ b/drivers/input/misc/max77693-haptic.c
@@ -424,5 +424,4 @@ module_platform_driver(max77693_haptic_driver);
MODULE_AUTHOR("Jaewon Kim <jaewon02.kim@samsung.com>");
MODULE_AUTHOR("Krzysztof Kozlowski <krzk@kernel.org>");
MODULE_DESCRIPTION("MAXIM 77693/77843 Haptic driver");
-MODULE_ALIAS("platform:max77693-haptic");
MODULE_LICENSE("GPL");
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] input: max77693-haptic: drop unneeded MODULE_ALIAS
2021-09-16 17:05 [PATCH] input: max77693-haptic: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
@ 2021-10-17 4:17 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2021-10-17 4:17 UTC (permalink / raw)
To: Krzysztof Kozlowski; +Cc: linux-kernel, linux-input
On Thu, Sep 16, 2021 at 07:05:14PM +0200, 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@canonical.com>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-17 4:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-16 17:05 [PATCH] input: max77693-haptic: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
2021-10-17 4:17 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).