Skip to content

Commit

Permalink
nfc: pn544: drop unneeded debug prints
Browse files Browse the repository at this point in the history
ftrace is a preferred and standard way to debug entering and exiting
functions so drop useless debug prints.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Krzysztof Kozlowski authored and David S. Miller committed Sep 13, 2021
1 parent 9981ab2 commit aed4146
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/nfc/pn544/mei.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ static int pn544_mei_probe(struct mei_cl_device *cldev,
struct nfc_mei_phy *phy;
int r;

pr_info("Probing NFC pn544\n");

phy = nfc_mei_phy_alloc(cldev);
if (!phy) {
pr_err("Cannot allocate memory for pn544 mei phy.\n");
Expand All @@ -46,8 +44,6 @@ static void pn544_mei_remove(struct mei_cl_device *cldev)
{
struct nfc_mei_phy *phy = mei_cldev_get_drvdata(cldev);

pr_info("Removing pn544\n");

pn544_hci_remove(phy->hdev);

nfc_mei_phy_free(phy);
Expand Down

0 comments on commit aed4146

Please sign in to comment.