Skip to content

Commit f41e137

Browse files
krzkkuba-moo
authored andcommitted
nfc: microread: drop unneeded debug prints
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: Jakub Kicinski <kuba@kernel.org>
1 parent f0563eb commit f41e137

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

drivers/nfc/microread/i2c.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,6 @@ static int microread_i2c_probe(struct i2c_client *client,
237237
struct microread_i2c_phy *phy;
238238
int r;
239239

240-
dev_dbg(&client->dev, "client %p\n", client);
241-
242240
phy = devm_kzalloc(&client->dev, sizeof(struct microread_i2c_phy),
243241
GFP_KERNEL);
244242
if (!phy)
@@ -262,8 +260,6 @@ static int microread_i2c_probe(struct i2c_client *client,
262260
if (r < 0)
263261
goto err_irq;
264262

265-
nfc_info(&client->dev, "Probed\n");
266-
267263
return 0;
268264

269265
err_irq:

drivers/nfc/microread/mei.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ static int microread_mei_probe(struct mei_cl_device *cldev,
2323
struct nfc_mei_phy *phy;
2424
int r;
2525

26-
pr_info("Probing NFC microread\n");
27-
2826
phy = nfc_mei_phy_alloc(cldev);
2927
if (!phy)
3028
return -ENOMEM;

0 commit comments

Comments
 (0)