diff mbox series

crypto: marvell/cesa: drop unneeded MODULE_ALIAS

Message ID 20210916170523.138155-1-krzysztof.kozlowski@canonical.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series crypto: marvell/cesa: drop unneeded MODULE_ALIAS | expand

Commit Message

Krzysztof Kozlowski Sept. 16, 2021, 5:05 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@canonical.com>
---
 drivers/crypto/marvell/cesa/cesa.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Herbert Xu Sept. 24, 2021, 8:09 a.m. UTC | #1
On Thu, Sep 16, 2021 at 07:05:22PM +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>
> ---
>  drivers/crypto/marvell/cesa/cesa.c | 1 -
>  1 file changed, 1 deletion(-)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/drivers/crypto/marvell/cesa/cesa.c b/drivers/crypto/marvell/cesa/cesa.c
index f14aac532f53..5cd332880653 100644
--- a/drivers/crypto/marvell/cesa/cesa.c
+++ b/drivers/crypto/marvell/cesa/cesa.c
@@ -615,7 +615,6 @@  static struct platform_driver marvell_cesa = {
 };
 module_platform_driver(marvell_cesa);
 
-MODULE_ALIAS("platform:mv_crypto");
 MODULE_AUTHOR("Boris Brezillon <boris.brezillon@free-electrons.com>");
 MODULE_AUTHOR("Arnaud Ebalard <arno@natisbad.org>");
 MODULE_DESCRIPTION("Support for Marvell's cryptographic engine");