All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] gpio: max77620: drop unneeded MODULE_ALIAS
@ 2021-09-16 16:46 Krzysztof Kozlowski
  2021-09-16 16:46 ` [PATCH 2/2] gpio: tps65218: " Krzysztof Kozlowski
  2021-09-22 10:12 ` [PATCH 1/2] gpio: max77620: " Bartosz Golaszewski
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2021-09-16 16:46 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, linux-gpio, linux-kernel
  Cc: Krzysztof Kozlowski

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/gpio/gpio-max77620.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio-max77620.c
index 82b3a913005d..ebf9dea6546b 100644
--- a/drivers/gpio/gpio-max77620.c
+++ b/drivers/gpio/gpio-max77620.c
@@ -365,5 +365,4 @@ module_platform_driver(max77620_gpio_driver);
 MODULE_DESCRIPTION("GPIO interface for MAX77620 and MAX20024 PMIC");
 MODULE_AUTHOR("Laxman Dewangan <ldewangan@nvidia.com>");
 MODULE_AUTHOR("Chaitanya Bandi <bandik@nvidia.com>");
-MODULE_ALIAS("platform:max77620-gpio");
 MODULE_LICENSE("GPL v2");
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] gpio: tps65218: drop unneeded MODULE_ALIAS
  2021-09-16 16:46 [PATCH 1/2] gpio: max77620: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
@ 2021-09-16 16:46 ` Krzysztof Kozlowski
  2021-09-22 10:13   ` Bartosz Golaszewski
  2021-09-22 10:12 ` [PATCH 1/2] gpio: max77620: " Bartosz Golaszewski
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2021-09-16 16:46 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, linux-gpio, linux-kernel
  Cc: Krzysztof Kozlowski

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/gpio/gpio-tps65218.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpio/gpio-tps65218.c b/drivers/gpio/gpio-tps65218.c
index 3517debe2b0b..912382be48e1 100644
--- a/drivers/gpio/gpio-tps65218.c
+++ b/drivers/gpio/gpio-tps65218.c
@@ -230,4 +230,3 @@ module_platform_driver(tps65218_gpio_driver);
 MODULE_AUTHOR("Nicolas Saenz Julienne <nicolassaenzj@gmail.com>");
 MODULE_DESCRIPTION("GPO interface for TPS65218 PMICs");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:tps65218-gpio");
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] gpio: max77620: drop unneeded MODULE_ALIAS
  2021-09-16 16:46 [PATCH 1/2] gpio: max77620: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
  2021-09-16 16:46 ` [PATCH 2/2] gpio: tps65218: " Krzysztof Kozlowski
@ 2021-09-22 10:12 ` Bartosz Golaszewski
  1 sibling, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2021-09-22 10:12 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Linus Walleij, linux-gpio, LKML

On Thu, Sep 16, 2021 at 6:46 PM 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>
> ---
>  drivers/gpio/gpio-max77620.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio-max77620.c
> index 82b3a913005d..ebf9dea6546b 100644
> --- a/drivers/gpio/gpio-max77620.c
> +++ b/drivers/gpio/gpio-max77620.c
> @@ -365,5 +365,4 @@ module_platform_driver(max77620_gpio_driver);
>  MODULE_DESCRIPTION("GPIO interface for MAX77620 and MAX20024 PMIC");
>  MODULE_AUTHOR("Laxman Dewangan <ldewangan@nvidia.com>");
>  MODULE_AUTHOR("Chaitanya Bandi <bandik@nvidia.com>");
> -MODULE_ALIAS("platform:max77620-gpio");
>  MODULE_LICENSE("GPL v2");
> --
> 2.30.2
>

Applied, thanks!

Bart

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] gpio: tps65218: drop unneeded MODULE_ALIAS
  2021-09-16 16:46 ` [PATCH 2/2] gpio: tps65218: " Krzysztof Kozlowski
@ 2021-09-22 10:13   ` Bartosz Golaszewski
  0 siblings, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2021-09-22 10:13 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Linus Walleij, linux-gpio, LKML

On Thu, Sep 16, 2021 at 6:46 PM 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>
> ---
>  drivers/gpio/gpio-tps65218.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-tps65218.c b/drivers/gpio/gpio-tps65218.c
> index 3517debe2b0b..912382be48e1 100644
> --- a/drivers/gpio/gpio-tps65218.c
> +++ b/drivers/gpio/gpio-tps65218.c
> @@ -230,4 +230,3 @@ module_platform_driver(tps65218_gpio_driver);
>  MODULE_AUTHOR("Nicolas Saenz Julienne <nicolassaenzj@gmail.com>");
>  MODULE_DESCRIPTION("GPO interface for TPS65218 PMICs");
>  MODULE_LICENSE("GPL v2");
> -MODULE_ALIAS("platform:tps65218-gpio");
> --
> 2.30.2
>

Applied, thanks!

Bart

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-22 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 16:46 [PATCH 1/2] gpio: max77620: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
2021-09-16 16:46 ` [PATCH 2/2] gpio: tps65218: " Krzysztof Kozlowski
2021-09-22 10:13   ` Bartosz Golaszewski
2021-09-22 10:12 ` [PATCH 1/2] gpio: max77620: " Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.