Commit f41e137a authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Jakub Kicinski
Browse files

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent f0563ebe
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -237,8 +237,6 @@ static int microread_i2c_probe(struct i2c_client *client,
	struct microread_i2c_phy *phy;
	int r;

	dev_dbg(&client->dev, "client %p\n", client);

	phy = devm_kzalloc(&client->dev, sizeof(struct microread_i2c_phy),
			   GFP_KERNEL);
	if (!phy)
@@ -262,8 +260,6 @@ static int microread_i2c_probe(struct i2c_client *client,
	if (r < 0)
		goto err_irq;

	nfc_info(&client->dev, "Probed\n");

	return 0;

err_irq:
+0 −2
Original line number Diff line number Diff line
@@ -23,8 +23,6 @@ static int microread_mei_probe(struct mei_cl_device *cldev,
	struct nfc_mei_phy *phy;
	int r;

	pr_info("Probing NFC microread\n");

	phy = nfc_mei_phy_alloc(cldev);
	if (!phy)
		return -ENOMEM;