Commit 6af8ffab authored by Mihai Sain's avatar Mihai Sain Committed by Sebastian Reichel
Browse files

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: default avatarMihai Sain <mihai.sain@microchip.com>
Link: https://lore.kernel.org/r/20250610124545.175492-3-mihai.sain@microchip.com


Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent e4ab1bfc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)