summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/cavium-rng-vf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/cavium-rng-vf.c')
-rw-r--r--drivers/char/hw_random/cavium-rng-vf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/cavium-rng-vf.c b/drivers/char/hw_random/cavium-rng-vf.c
index 6f66919652bf..7c55f4cf4a8b 100644
--- a/drivers/char/hw_random/cavium-rng-vf.c
+++ b/drivers/char/hw_random/cavium-rng-vf.c
@@ -179,7 +179,7 @@ static int cavium_map_pf_regs(struct cavium_rng *rng)
pdev = pci_get_device(PCI_VENDOR_ID_CAVIUM,
PCI_DEVID_CAVIUM_RNG_PF, NULL);
if (!pdev) {
- dev_err(&pdev->dev, "Cannot find RNG PF device\n");
+ pr_err("Cannot find RNG PF device\n");
return -EIO;
}