Skip to content

Commit

Permalink
nfc: pn533: 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 747e391 commit b7b9658
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions drivers/nfc/pn533/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ static int pn533_i2c_read(struct pn533_i2c_phy *phy, struct sk_buff **skb)
static irqreturn_t pn533_i2c_irq_thread_fn(int irq, void *data)
{
struct pn533_i2c_phy *phy = data;
struct i2c_client *client;
struct sk_buff *skb = NULL;
int r;

Expand All @@ -137,9 +136,6 @@ static irqreturn_t pn533_i2c_irq_thread_fn(int irq, void *data)
return IRQ_NONE;
}

client = phy->i2c_dev;
dev_dbg(&client->dev, "IRQ\n");

if (phy->hard_fault != 0)
return IRQ_HANDLED;

Expand Down
2 changes: 0 additions & 2 deletions drivers/nfc/pn533/pn533.c
Original file line number Diff line number Diff line change
Expand Up @@ -1235,8 +1235,6 @@ static void pn533_listen_mode_timer(struct timer_list *t)
{
struct pn533 *dev = from_timer(dev, t, listen_timer);

dev_dbg(dev->dev, "Listen mode timeout\n");

dev->cancel_listen = 1;

pn533_poll_next_mod(dev);
Expand Down

0 comments on commit b7b9658

Please sign in to comment.