[PATCH 1/3] rtc: sun6i: remove unnecessary message

Jernej Škrabec jernej.skrabec at gmail.com
Tue Sep 5 13:31:51 PDT 2023


On Monday, August 28, 2023 12:16:40 AM CEST alexandre.belloni at bootlin.com 
wrote:
> From: Alexandre Belloni <alexandre.belloni at bootlin.com>
> 
> The core already print a message once the rtc is successfully registered,
> it is not necessary to print an other one.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>

Acked-by: Jernej Skrabec <jernej.skrabec at gmail.com>

Best regards,
Jernej

> ---
>  drivers/rtc/rtc-sun6i.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/rtc/rtc-sun6i.c b/drivers/rtc/rtc-sun6i.c
> index 753a2d9c8a17..8e0c66906103 100644
> --- a/drivers/rtc/rtc-sun6i.c
> +++ b/drivers/rtc/rtc-sun6i.c
> @@ -846,8 +846,6 @@ static int sun6i_rtc_probe(struct platform_device *pdev)
> if (ret)
>  		return ret;
> 
> -	dev_info(&pdev->dev, "RTC enabled\n");
> -
>  	return 0;
>  }







More information about the linux-arm-kernel mailing list