nfc: pn533: use dev_err() instead of pr_err()

Print error message with reference to a device.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Krzysztof Kozlowski 2021-09-13 15:20:26 +02:00 committed by David S. Miller
parent b7b96587c1
commit 9981ab2151
1 changed files with 1 additions and 1 deletions

View File

@ -2171,7 +2171,7 @@ void pn533_recv_frame(struct pn533 *dev, struct sk_buff *skb, int status)
}
if (skb == NULL) {
pr_err("NULL Frame -> link is dead\n");
dev_err(dev->dev, "NULL Frame -> link is dead\n");
goto sched_wq;
}