提交 f41e137a 编写于 作者: K Krzysztof Kozlowski 提交者: Jakub Kicinski

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: NKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: NJakub Kicinski <kuba@kernel.org>
上级 f0563ebe
...@@ -237,8 +237,6 @@ static int microread_i2c_probe(struct i2c_client *client, ...@@ -237,8 +237,6 @@ static int microread_i2c_probe(struct i2c_client *client,
struct microread_i2c_phy *phy; struct microread_i2c_phy *phy;
int r; int r;
dev_dbg(&client->dev, "client %p\n", client);
phy = devm_kzalloc(&client->dev, sizeof(struct microread_i2c_phy), phy = devm_kzalloc(&client->dev, sizeof(struct microread_i2c_phy),
GFP_KERNEL); GFP_KERNEL);
if (!phy) if (!phy)
...@@ -262,8 +260,6 @@ static int microread_i2c_probe(struct i2c_client *client, ...@@ -262,8 +260,6 @@ static int microread_i2c_probe(struct i2c_client *client,
if (r < 0) if (r < 0)
goto err_irq; goto err_irq;
nfc_info(&client->dev, "Probed\n");
return 0; return 0;
err_irq: err_irq:
......
...@@ -23,8 +23,6 @@ static int microread_mei_probe(struct mei_cl_device *cldev, ...@@ -23,8 +23,6 @@ static int microread_mei_probe(struct mei_cl_device *cldev,
struct nfc_mei_phy *phy; struct nfc_mei_phy *phy;
int r; int r;
pr_info("Probing NFC microread\n");
phy = nfc_mei_phy_alloc(cldev); phy = nfc_mei_phy_alloc(cldev);
if (!phy) if (!phy)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册