diff mbox series

mmc: sdhci-s3c: drop unneeded MODULE_ALIAS

Message ID 20210916170511.137915-1-krzysztof.kozlowski@canonical.com
State New
Headers show
Series mmc: sdhci-s3c: 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/mmc/host/sdhci-s3c.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jaehoon Chung Sept. 17, 2021, 8:47 a.m. UTC | #1
On 9/17/21 2:05 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@canonical.com>


Reviewed-by: Jaehoon Chung <jh80.chung@samsunhg.com>


Best Regards,
Jaehoon Chung

> ---

>  drivers/mmc/host/sdhci-s3c.c | 1 -

>  1 file changed, 1 deletion(-)

> 

> diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c

> index 862f033d235d..9085f3932443 100644

> --- a/drivers/mmc/host/sdhci-s3c.c

> +++ b/drivers/mmc/host/sdhci-s3c.c

> @@ -791,4 +791,3 @@ module_platform_driver(sdhci_s3c_driver);

>  MODULE_DESCRIPTION("Samsung SDHCI (HSMMC) glue");

>  MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>");

>  MODULE_LICENSE("GPL v2");

> -MODULE_ALIAS("platform:s3c-sdhci");

>
Ulf Hansson Sept. 23, 2021, 6:49 p.m. UTC | #2
On Thu, 16 Sept 2021 at 19:05, Krzysztof Kozlowski
<krzysztof.kozlowski@canonical.com> 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 for next, thanks!

Kind regards
Uffe


> ---

>  drivers/mmc/host/sdhci-s3c.c | 1 -

>  1 file changed, 1 deletion(-)

>

> diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c

> index 862f033d235d..9085f3932443 100644

> --- a/drivers/mmc/host/sdhci-s3c.c

> +++ b/drivers/mmc/host/sdhci-s3c.c

> @@ -791,4 +791,3 @@ module_platform_driver(sdhci_s3c_driver);

>  MODULE_DESCRIPTION("Samsung SDHCI (HSMMC) glue");

>  MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>");

>  MODULE_LICENSE("GPL v2");

> -MODULE_ALIAS("platform:s3c-sdhci");

> --

> 2.30.2

>
diff mbox series

Patch

diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index 862f033d235d..9085f3932443 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -791,4 +791,3 @@  module_platform_driver(sdhci_s3c_driver);
 MODULE_DESCRIPTION("Samsung SDHCI (HSMMC) glue");
 MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:s3c-sdhci");