Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Jakub Kicinski
f41e137a f0563ebe

-6
-4
drivers/nfc/microread/i2c.c
··· 237 237 struct microread_i2c_phy *phy; 238 238 int r; 239 239 240 - dev_dbg(&client->dev, "client %p\n", client); 241 - 242 240 phy = devm_kzalloc(&client->dev, sizeof(struct microread_i2c_phy), 243 241 GFP_KERNEL); 244 242 if (!phy) ··· 259 261 MICROREAD_I2C_LLC_MAX_PAYLOAD, &phy->hdev); 260 262 if (r < 0) 261 263 goto err_irq; 262 - 263 - nfc_info(&client->dev, "Probed\n"); 264 264 265 265 return 0; 266 266
-2
drivers/nfc/microread/mei.c
··· 23 23 struct nfc_mei_phy *phy; 24 24 int r; 25 25 26 - pr_info("Probing NFC microread\n"); 27 - 28 26 phy = nfc_mei_phy_alloc(cldev); 29 27 if (!phy) 30 28 return -ENOMEM;