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:
parent
b7b96587c1
commit
9981ab2151
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue