diff mbox series

[RESEND] pinctrl: max77620: drop unneeded MODULE_ALIAS

Message ID 20220407202509.23228-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit 94d93c9b7444ef90da2ef871cdb6d52ccc19b5ee
Headers show
Series [RESEND] pinctrl: max77620: drop unneeded MODULE_ALIAS | expand

Commit Message

Krzysztof Kozlowski April 7, 2022, 8:25 p.m. UTC
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@linaro.org>
---
 drivers/pinctrl/pinctrl-max77620.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Linus Walleij April 20, 2022, 10:44 p.m. UTC | #1
On Thu, Apr 7, 2022 at 10:25 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> 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@linaro.org>

Patch applied!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/pinctrl-max77620.c b/drivers/pinctrl/pinctrl-max77620.c
index 1ee94574f0af..ab723ab4ec1d 100644
--- a/drivers/pinctrl/pinctrl-max77620.c
+++ b/drivers/pinctrl/pinctrl-max77620.c
@@ -668,5 +668,4 @@  module_platform_driver(max77620_pinctrl_driver);
 MODULE_DESCRIPTION("MAX77620/MAX20024 pin control driver");
 MODULE_AUTHOR("Chaitanya Bandi<bandik@nvidia.com>");
 MODULE_AUTHOR("Laxman Dewangan<ldewangan@nvidia.com>");
-MODULE_ALIAS("platform:max77620-pinctrl");
 MODULE_LICENSE("GPL v2");