Hi,
On Wed, Apr 23, 2025 at 03:03:13PM +0200, Johan Hovold wrote:
> The driver only supports OF probe so drop the unused platform module
> alias.
>
> Fixes: dd3bf50b35e3 ("rtc: cpcap: new rtc driver")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
-- Sebastian
> drivers/rtc/rtc-cpcap.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/rtc/rtc-cpcap.c b/drivers/rtc/rtc-cpcap.c
> index 568a89e79c11..c170345ac076 100644
> --- a/drivers/rtc/rtc-cpcap.c
> +++ b/drivers/rtc/rtc-cpcap.c
> @@ -320,7 +320,6 @@ static struct platform_driver cpcap_rtc_driver = {
>
> module_platform_driver(cpcap_rtc_driver);
>
> -MODULE_ALIAS("platform:cpcap-rtc");
> MODULE_DESCRIPTION("CPCAP RTC driver");
> MODULE_AUTHOR("Sebastian Reichel <sre@kernel.org>");
> MODULE_LICENSE("GPL");
> --
> 2.49.0
>