diff mbox series

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

Message ID 20230827221643.544259-1-alexandre.belloni@bootlin.com
State Accepted
Headers show
Series [1/3] rtc: sun6i: remove unnecessary message | expand

Commit Message

Alexandre Belloni Aug. 27, 2023, 10:16 p.m. UTC
From: Alexandre Belloni <alexandre.belloni@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@bootlin.com>
---
 drivers/rtc/rtc-sun6i.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Jernej Škrabec Sept. 5, 2023, 8:31 p.m. UTC | #1
On Monday, August 28, 2023 12:16:40 AM CEST alexandre.belloni@bootlin.com 
wrote:
> From: Alexandre Belloni <alexandre.belloni@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@bootlin.com>

Acked-by: Jernej Skrabec <jernej.skrabec@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;
>  }
diff mbox series

Patch

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;
 }