Skip to content

Commit 6af8ffa

Browse files
Mihai Sainsre
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent e4ab1bf commit 6af8ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/power/reset/at91-sama5d2_shdwc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static void at91_wakeup_status(struct platform_device *pdev)
129129
else if (SHDW_RTTWK(reg, &rcfg->shdwc))
130130
reason = "RTT";
131131

132-
pr_info("AT91: Wake-Up source: %s\n", reason);
132+
dev_info(&pdev->dev, "Wake-Up source: %s\n", reason);
133133
}
134134

135135
static void at91_poweroff(void)

0 commit comments

Comments
 (0)