nfc: microread: drop unneeded debug prints
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 11 Oct 2021 13:38:35 +0000 (15:38 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Oct 2021 00:00:52 +0000 (17:00 -0700)
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>
drivers/nfc/microread/i2c.c
drivers/nfc/microread/mei.c

index 86f593c..0672951 100644 (file)
@@ -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:
index 00689e1..e2a77a5 100644 (file)
@@ -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;