Skip to content

Commit

Permalink
nfc: mei_phy: drop ftrace-like debugging messages
Browse files Browse the repository at this point in the history
Now that the kernel has ftrace, any debugging calls that just do "made
it to this function!" and "leaving this function!" can be removed.
Better to use standard debugging tools.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210531073522.6720-2-krzysztof.kozlowski@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Krzysztof Kozlowski authored and Jakub Kicinski committed Jun 1, 2021
1 parent 9571289 commit 6a7fdad
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/nfc/mei_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ static int mei_nfc_if_version(struct nfc_mei_phy *phy)
size_t if_version_length;
int bytes_recv, r;

pr_info("%s\n", __func__);

memset(&cmd, 0, sizeof(struct mei_nfc_cmd));
cmd.hdr.cmd = MEI_NFC_CMD_MAINTENANCE;
cmd.hdr.data_size = 1;
Expand Down Expand Up @@ -146,8 +144,6 @@ static int mei_nfc_connect(struct nfc_mei_phy *phy)
size_t connect_length, connect_resp_length;
int bytes_recv, r;

pr_info("%s\n", __func__);

connect_length = sizeof(struct mei_nfc_cmd) +
sizeof(struct mei_nfc_connect);

Expand Down Expand Up @@ -320,8 +316,6 @@ static int nfc_mei_phy_enable(void *phy_id)
int r;
struct nfc_mei_phy *phy = phy_id;

pr_info("%s\n", __func__);

if (phy->powered == 1)
return 0;

Expand Down Expand Up @@ -363,8 +357,6 @@ static void nfc_mei_phy_disable(void *phy_id)
{
struct nfc_mei_phy *phy = phy_id;

pr_info("%s\n", __func__);

mei_cldev_disable(phy->cldev);

phy->powered = 0;
Expand Down

0 comments on commit 6a7fdad

Please sign in to comment.