Skip to contentSkip to conversation

clocksource/drivers/stm32-lp: Drop unused module alias

PATCH Applied Johan Hovold 3 participants 3 messages Nov 11, 2025 – Nov 26, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clocksource/drivers/stm32-lp: Drop unused module alias

The driver cannot be built as a module so drop the unused platform module alias.

Note that platform aliases are not needed for OF probing should it ever become possible to build the driver as a module.

---
 drivers/clocksource/timer-stm32-lp.c | 1 -
 1 file changed, 1 deletion(-)
drivers/clocksource/timer-stm32-lp.c +0 -1
index c2a699f5c1dd..3d804128c765 100644
@@ -289,5 +289,4 @@ static struct platform_driver stm32_clkevent_lp_driver = {
 };
 module_platform_driver(stm32_clkevent_lp_driver);
 
-MODULE_ALIAS("platform:stm32-lptimer-timer");
 MODULE_DESCRIPTION("STMicroelectronics STM32 clockevent low power driver");
Signature · 1 line
2.51.0
#1 lore raw
Quoted 8 lines · Johan Hovold

The driver cannot be built as a module so drop the unused platform module alias.

Note that platform aliases are not needed for OF probing should it ever become possible to build the driver as a module.

---

Applied, thanks

Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
merge bot Applied
#2 lore raw
In reply to Johan Hovold
The following commit has been merged into the timers/clocksource branch of tip:

The following commit has been merged into the timers/clocksource branch of tip:

Commit-ID:     ed92a968a967042a7c7eb4c938e640b4deb79fe2
Gitweb:        https://git.kernel.org/tip/ed92a968a967042a7c7eb4c938e640b4deb79fe2
Author:        Johan Hovold <[email protected]>
AuthorDate:    Tue, 11 Nov 2025 16:45:16 +01:00
Committer:     Daniel Lezcano <[email protected]>
CommitterDate: Wed, 26 Nov 2025 11:25:15 +01:00

clocksource/drivers/stm32-lp: Drop unused module alias

The driver cannot be built as a module so drop the unused platform module alias.

Note that platform aliases are not needed for OF probing should it ever become possible to build the driver as a module.

---
 drivers/clocksource/timer-stm32-lp.c | 1 -
 1 file changed, 1 deletion(-)
drivers/clocksource/timer-stm32-lp.c +0 -1
index c2a699f..3d80412 100644
@@ -289,5 +289,4 @@ static struct platform_driver stm32_clkevent_lp_driver = {
 };
 module_platform_driver(stm32_clkevent_lp_driver);
 
-MODULE_ALIAS("platform:stm32-lptimer-timer");
 MODULE_DESCRIPTION("STMicroelectronics STM32 clockevent low power driver");