mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 02:53:36 +02:00
power: reset: at91-sama5d2_shdwc: Refactor wake-up source logging to use dev_info
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> Link: https://lore.kernel.org/r/20250610124545.175492-3-mihai.sain@microchip.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
e4ab1bfc3f
commit
6af8ffab2d
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user