Skip to content

Commit

Permalink
nfc: pn533: use dev_err() instead of pr_err()
Browse files Browse the repository at this point in the history
Print error message with reference to a device.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
krzk authored and davem330 committed Sep 13, 2021
1 parent b7b9658 commit 9981ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nfc/pn533/pn533.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9981ab2

Please sign in to comment.