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>
This commit is contained in:
parent
ab08824826
commit
fd73a3e618
1 changed files with 2 additions and 2 deletions
|
@ -145,8 +145,8 @@ static int samx7_restart(struct notifier_block *this, unsigned long mode,
|
||||||
|
|
||||||
static void __init at91_reset_status(struct platform_device *pdev)
|
static void __init at91_reset_status(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
|
const char *reason;
|
||||||
u32 reg = readl(at91_rstc_base + AT91_RSTC_SR);
|
u32 reg = readl(at91_rstc_base + AT91_RSTC_SR);
|
||||||
char *reason;
|
|
||||||
|
|
||||||
switch ((reg & AT91_RSTC_RSTTYP) >> 8) {
|
switch ((reg & AT91_RSTC_RSTTYP) >> 8) {
|
||||||
case RESET_TYPE_GENERAL:
|
case RESET_TYPE_GENERAL:
|
||||||
|
@ -169,7 +169,7 @@ static void __init at91_reset_status(struct platform_device *pdev)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
pr_info("AT91: Starting after %s\n", reason);
|
dev_info(&pdev->dev, "Starting after %s\n", reason);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct of_device_id at91_ramc_of_match[] = {
|
static const struct of_device_id at91_ramc_of_match[] = {
|
||||||
|
|
Loading…
Reference in a new issue