summaryrefslogtreecommitdiff
path: root/drivers/nfc
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-09-13 16:20:26 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-13 16:38:00 +0300
commit9981ab2151226d5be03b220142e383a1bd91daf2 (patch)
treedad942ab7403f369fae0adece36589d629720890 /drivers/nfc
parentb7b96587c18b709a7ebea73c8d140dfed81ab1cb (diff)
downloadlinux-9981ab2151226d5be03b220142e383a1bd91daf2.tar.xz
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>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/pn533/pn533.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/pn533/pn533.c b/drivers/nfc/pn533/pn533.c
index c5f127fe2d45..da180335422c 100644
--- a/drivers/nfc/pn533/pn533.c
+++ b/drivers/nfc/pn533/pn533.c
@@ -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;
}