We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9800b7 commit cf813c6Copy full SHA for cf813c6
drivers/watchdog/iTCO_wdt.c
@@ -485,13 +485,13 @@ static int iTCO_wdt_probe(struct platform_device *pdev)
485
if (!devm_request_region(dev, p->smi_res->start,
486
resource_size(p->smi_res),
487
pdev->name)) {
488
- pr_err("I/O address 0x%04llx already in use, device disabled\n",
+ dev_err(dev, "I/O address 0x%04llx already in use, device disabled\n",
489
(u64)SMI_EN(p));
490
return -EBUSY;
491
}
492
} else if (iTCO_vendorsupport ||
493
turn_SMI_watchdog_clear_off >= p->iTCO_version) {
494
- pr_err("SMI I/O resource is missing\n");
+ dev_err(dev, "SMI I/O resource is missing\n");
495
return -ENODEV;
496
497
0 commit comments