]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rtc: stm32: drop unused module alias
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 23 Apr 2025 13:03:18 +0000 (15:03 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 24 May 2025 21:58:24 +0000 (23:58 +0200)
The driver only support OF probe so drop the unused platform module
alias.

Fixes: 4e64350f42e2 ("rtc: add STM32 RTC driver")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250423130318.31244-8-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-stm32.c

index 1b715db47160158b3cfc79c437ea956e301deeb5..ef8fb88aab48a0edad19ae5872421815aa04fe46 100644 (file)
@@ -1283,7 +1283,6 @@ static struct platform_driver stm32_rtc_driver = {
 
 module_platform_driver(stm32_rtc_driver);
 
-MODULE_ALIAS("platform:" DRIVER_NAME);
 MODULE_AUTHOR("Amelie Delaunay <amelie.delaunay@st.com>");
 MODULE_DESCRIPTION("STMicroelectronics STM32 Real Time Clock driver");
 MODULE_LICENSE("GPL v2");