Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power: reset: at91-reset: Switch from the pr_*() to the dev_*() logging functions

Use dev_info() instead of pr_info().

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>

authored by

Ladislav Michl and committed by
Sebastian Reichel
fd73a3e6 ab088248

+2 -2
+2 -2
drivers/power/reset/at91-reset.c
··· 145 145 146 146 static void __init at91_reset_status(struct platform_device *pdev) 147 147 { 148 + const char *reason; 148 149 u32 reg = readl(at91_rstc_base + AT91_RSTC_SR); 149 - char *reason; 150 150 151 151 switch ((reg & AT91_RSTC_RSTTYP) >> 8) { 152 152 case RESET_TYPE_GENERAL: ··· 169 169 break; 170 170 } 171 171 172 - pr_info("AT91: Starting after %s\n", reason); 172 + dev_info(&pdev->dev, "Starting after %s\n", reason); 173 173 } 174 174 175 175 static const struct of_device_id at91_ramc_of_match[] = {