* [PATCH] power: reset: at91-sama5d2_shdwc: Refactor wake-up source logging to use dev_info
@ 2025-06-10 12:45 Mihai Sain
2025-06-22 1:33 ` Sebastian Reichel
0 siblings, 1 reply; 2+ messages in thread
From: Mihai Sain @ 2025-06-10 12:45 UTC (permalink / raw)
To: claudiu.beznea, sre, nicolas.ferre, alexandre.belloni, linux-pm,
linux-arm-kernel, linux-kernel
Cc: Mihai Sain
Use dev_info() instead of pr_info() for more consistent
logging in the driver.
[root@sam9x75eb ~]$ dmesg | grep power
[ 1.678542] at91-shdwc fffffe10.poweroff: Wake-Up source: WKUP pin
Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
drivers/power/reset/at91-sama5d2_shdwc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/reset/at91-sama5d2_shdwc.c b/drivers/power/reset/at91-sama5d2_shdwc.c
index e9fe08ee3812..ecf15694f925 100644
--- a/drivers/power/reset/at91-sama5d2_shdwc.c
+++ b/drivers/power/reset/at91-sama5d2_shdwc.c
@@ -129,7 +129,7 @@ static void at91_wakeup_status(struct platform_device *pdev)
else if (SHDW_RTTWK(reg, &rcfg->shdwc))
reason = "RTT";
- pr_info("AT91: Wake-Up source: %s\n", reason);
+ dev_info(&pdev->dev, "Wake-Up source: %s\n", reason);
}
static void at91_poweroff(void)
base-commit: f09079bd04a924c72d555cd97942d5f8d7eca98c
--
2.49.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] power: reset: at91-sama5d2_shdwc: Refactor wake-up source logging to use dev_info
2025-06-10 12:45 [PATCH] power: reset: at91-sama5d2_shdwc: Refactor wake-up source logging to use dev_info Mihai Sain
@ 2025-06-22 1:33 ` Sebastian Reichel
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2025-06-22 1:33 UTC (permalink / raw)
To: claudiu.beznea, sre, nicolas.ferre, alexandre.belloni, linux-pm,
linux-arm-kernel, linux-kernel, Mihai Sain
On Tue, 10 Jun 2025 15:45:47 +0300, Mihai Sain wrote:
> Use dev_info() instead of pr_info() for more consistent
> logging in the driver.
>
> [root@sam9x75eb ~]$ dmesg | grep power
> [ 1.678542] at91-shdwc fffffe10.poweroff: Wake-Up source: WKUP pin
>
>
> [...]
Applied, thanks!
[1/1] power: reset: at91-sama5d2_shdwc: Refactor wake-up source logging to use dev_info
commit: 6af8ffab2db3199f22298641880dd111f3a630e2
Best regards,
--
Sebastian Reichel <sebastian.reichel@collabora.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-22 1:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-10 12:45 [PATCH] power: reset: at91-sama5d2_shdwc: Refactor wake-up source logging to use dev_info Mihai Sain
2025-06-22 1:33 ` Sebastian Reichel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®