From patchwork Mon May 31 07:39:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 450752 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D5ECC47082 for ; Mon, 31 May 2021 07:39:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 60C3660C3F for ; Mon, 31 May 2021 07:39:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230389AbhEaHla (ORCPT ); Mon, 31 May 2021 03:41:30 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:60632 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230361AbhEaHlE (ORCPT ); Mon, 31 May 2021 03:41:04 -0400 Received: from mail-wm1-f69.google.com ([209.85.128.69]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lncWA-000393-Fz for netdev@vger.kernel.org; Mon, 31 May 2021 07:39:22 +0000 Received: by mail-wm1-f69.google.com with SMTP id n127-20020a1c27850000b02901717a27c785so4432576wmn.9 for ; Mon, 31 May 2021 00:39:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4J89KlzzqThKgmZLnM37DvaB3SqI47fv9hR1FCtpA64=; b=CWGzRoraSjYPRTp+pwWTVgMYBObiyblCF6EevM39TfrQOf6aUrPC+fVktnIhFiRtsp h/aywP/3oWyaxd4j05AmE7ikOVTNki4ryEoo2Gn6kdRrZlqyzkq+M10ZJaleg4NAI5sD /S681r6dJ87+iggJLIEiKq/Q8MggiERBu5FJo/QN+kVM9x0azQLfMmsY/I3rJJ55co4Y w/YrciKVfPJ3fsBUkJitzAbrBaEJtCVNw2HTk8wiOPOLHT16xVICqBCvR+ceKyvQ2ZoV M/ZdG0TRZvLJkmQF+d0XnRkFzXHXRSDQq+lPZaEm9+fH6DrnZIl3dw6npjjUhjcYMyFK sTmw== X-Gm-Message-State: AOAM530DoTv2uq6tnFb6YXAYRNhUrS856NXOTXHNSuqMJM35tRD/Y5F5 u4vRkNWnuolbQd1kbfZi1syF7aWTx7eErqZSMrVfig4/XMGLPay0Btq5Eza6mWlIcuTliAgMe1Z 09XSt22ZH0++EKWp35qNaDBu13dQNw214Bg== X-Received: by 2002:a05:600c:2948:: with SMTP id n8mr24706750wmd.95.1622446762291; Mon, 31 May 2021 00:39:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoc0eYdm0Gad3jKfILWO0BlkrBHmb4+ihv28lP2KSvG+Az7qWFv7kizSOlAt+HwZQaPXWCeQ== X-Received: by 2002:a05:600c:2948:: with SMTP id n8mr24706734wmd.95.1622446762165; Mon, 31 May 2021 00:39:22 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-185-9.adslplus.ch. [188.155.185.9]) by smtp.gmail.com with ESMTPSA id a1sm9168911wrg.92.2021.05.31.00.39.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 00:39:21 -0700 (PDT) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , "David S. Miller" , Jakub Kicinski , linux-nfc@lists.01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH 09/11] nfc: st21nfca: drop ftrace-like debugging messages Date: Mon, 31 May 2021 09:39:00 +0200 Message-Id: <20210531073902.7111-5-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210531073522.6720-1-krzysztof.kozlowski@canonical.com> References: <20210531073522.6720-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 --- drivers/nfc/st21nfca/i2c.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c index cebc6c06a1b6..7a9f4d71707e 100644 --- a/drivers/nfc/st21nfca/i2c.c +++ b/drivers/nfc/st21nfca/i2c.c @@ -502,9 +502,6 @@ static int st21nfca_hci_i2c_probe(struct i2c_client *client, struct st21nfca_i2c_phy *phy; int r; - dev_dbg(&client->dev, "%s\n", __func__); - dev_dbg(&client->dev, "IRQ: %d\n", client->irq); - if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) { nfc_err(&client->dev, "Need I2C_FUNC_I2C\n"); return -ENODEV; @@ -568,8 +565,6 @@ static int st21nfca_hci_i2c_remove(struct i2c_client *client) { struct st21nfca_i2c_phy *phy = i2c_get_clientdata(client); - dev_dbg(&client->dev, "%s\n", __func__); - st21nfca_hci_remove(phy->hdev); if (phy->powered)