public inbox for linux-leds@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] leds: upboard: fix module alias
@ 2025-10-20 15:36 Thomas Richard
  2025-10-21  7:06 ` Krzysztof Kozlowski
  2025-10-25 11:43 ` (subset) " Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Richard @ 2025-10-20 15:36 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek
  Cc: Thomas Petazzoni, linux-leds, linux-kernel, DanieleCleri,
	GaryWang, Thomas Richard

The module alias does not match the cell name defined in the MFD driver,
preventing automatic loading when the driver is built as a module. So fix
the module alias to ensure proper module auto-loading.

Fixes: 0ef2929a0181 ("leds: Add AAEON UP board LED driver")
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
Changes in v2:
- Improve commit message.
- Link to v1: https://lore.kernel.org/r/20251016-leds-upboard-fix-module-alias-v1-1-be63bafcf250@bootlin.com
---
 drivers/leds/leds-upboard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/leds-upboard.c b/drivers/leds/leds-upboard.c
index b350eb294280fd68535c47843417f4282f97b423..12989b2f195309cc930095ecc5f855065e88d9aa 100644
--- a/drivers/leds/leds-upboard.c
+++ b/drivers/leds/leds-upboard.c
@@ -123,4 +123,4 @@ MODULE_AUTHOR("Gary Wang <garywang@aaeon.com.tw>");
 MODULE_AUTHOR("Thomas Richard <thomas.richard@bootlin.com>");
 MODULE_DESCRIPTION("UP Board LED driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:upboard-led");
+MODULE_ALIAS("platform:upboard-leds");

---
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
change-id: 20251016-leds-upboard-fix-module-alias-194508af3111

Best regards,
-- 
Thomas Richard <thomas.richard@bootlin.com>


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

* Re: [PATCH v2] leds: upboard: fix module alias
  2025-10-20 15:36 [PATCH v2] leds: upboard: fix module alias Thomas Richard
@ 2025-10-21  7:06 ` Krzysztof Kozlowski
  2025-10-25 11:43 ` (subset) " Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-21  7:06 UTC (permalink / raw)
  To: Thomas Richard, Lee Jones, Pavel Machek
  Cc: Thomas Petazzoni, linux-leds, linux-kernel, DanieleCleri,
	GaryWang

On 20/10/2025 17:36, Thomas Richard wrote:
> The module alias does not match the cell name defined in the MFD driver,
> preventing automatic loading when the driver is built as a module. So fix
> the module alias to ensure proper module auto-loading.
> 
> Fixes: 0ef2929a0181 ("leds: Add AAEON UP board LED driver")
> Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof

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

* Re: (subset) [PATCH v2] leds: upboard: fix module alias
  2025-10-20 15:36 [PATCH v2] leds: upboard: fix module alias Thomas Richard
  2025-10-21  7:06 ` Krzysztof Kozlowski
@ 2025-10-25 11:43 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2025-10-25 11:43 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek, Thomas Richard
  Cc: Thomas Petazzoni, linux-leds, linux-kernel, DanieleCleri,
	GaryWang

On Mon, 20 Oct 2025 17:36:25 +0200, Thomas Richard wrote:
> The module alias does not match the cell name defined in the MFD driver,
> preventing automatic loading when the driver is built as a module. So fix
> the module alias to ensure proper module auto-loading.
> 
> 

Applied, thanks!

[1/1] leds: upboard: fix module alias
      commit: c06a017439110debd335b6864bc2d69835624235

--
Lee Jones [李琼斯]


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

end of thread, other threads:[~2025-10-25 11:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-20 15:36 [PATCH v2] leds: upboard: fix module alias Thomas Richard
2025-10-21  7:06 ` Krzysztof Kozlowski
2025-10-25 11:43 ` (subset) " Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox