From patchwork Wed Mar 7 05:38:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hariprasath.elango@gmail.com X-Patchwork-Id: 10263391 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 43F84602C8 for ; Wed, 7 Mar 2018 05:38:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 342D328956 for ; Wed, 7 Mar 2018 05:38:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2749F29375; Wed, 7 Mar 2018 05:38:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5F4328956 for ; Wed, 7 Mar 2018 05:38:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751112AbeCGFi3 (ORCPT ); Wed, 7 Mar 2018 00:38:29 -0500 Received: from mail-it0-f65.google.com ([209.85.214.65]:38713 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751086AbeCGFi2 (ORCPT ); Wed, 7 Mar 2018 00:38:28 -0500 Received: by mail-it0-f65.google.com with SMTP id j7so1860332ita.3; Tue, 06 Mar 2018 21:38:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=7cof7dnW62MlUfUNxwmQIPiYv1eECHY07minzQpIwE0=; b=k6eVjshV/Waxur2KfOco4wdvaCMnMlHhcH3BNy0XGm902F4XlJMm7QCT0ylOUXRvqo baenX43NoB1MODOof7FRaVv+8w+nPqJNEQf2oFg7JkTwIWzW84/AOCXPydQypa5YmDvS s0hL9BdV2ACpZrz0W0Co7oDCgc98u7QO3/qbsKoVBNbGcWWoGNTApBRwrB01y5Gvo3rH vjVXIzy/xWTtenKDqXRxUDkcyELdgjgZpUO04C6lWIwRTZxKlrJFRR/TQ58RLNT02iTH mnnRaY4xTuFf4m896F2EveofFriMDUQigWlokKVZQOO6ly8fMa2jNvxmVMq+GGvvv6my l8rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7cof7dnW62MlUfUNxwmQIPiYv1eECHY07minzQpIwE0=; b=KFqLeCIwvuckE0MD8zy2JGBnvRZmqv5DKqUQ5xY6WvOIacGRBX0swEqRpsLSKdiLsK x9WavRU0PPPTpSWU7siWdU9SzMm2IUji4GlMDz7d0ImRERhjisPMJ3DjZrVKwrTr+Fkf PLYbGwdct2x1PkIxrWpyLJUQRG7GdcJFys1iZGhFKzunRn0o9ITJiUG9bYy06MMZKeKv lhjfQCP0DflUa+OOMC9zZqHSFwFmW1eGuwRbcwMOQvvCeuVgnZnXrKSAA/50MUyLApo8 hTPMtXNrWdSEwKrbLkhdYyz56ujpeUyZn+unkSug6O4FzYYi/AZj64egJUPPUrAXbDrx 8JAg== X-Gm-Message-State: AElRT7FqP6jpa7R9SURBOqcgdMllqMUqfTJcd2aqK49HUqilHZDWbKKa dS8mU517kumTB/3BKiYZ7zI= X-Google-Smtp-Source: AG47ELu6MtnPJk/2LI1JjgGBDhgY72HuKci82ZGDDGC3idDwchwPzeVzQc1L0F52Oi6efJi5ViunqA== X-Received: by 10.36.67.1 with SMTP id s1mr7068373itb.145.1520401107929; Tue, 06 Mar 2018 21:38:27 -0800 (PST) Received: from localhost.localdomain ([2405:204:744b:4256:c09f:3fb3:82c7:cf01]) by smtp.gmail.com with ESMTPSA id e84sm7929081itd.15.2018.03.06.21.38.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 21:38:26 -0800 (PST) From: hariprasath.elango@gmail.com To: lars@metafoo.de Cc: hariprasath.elango@gmail.com, Michael Hennerich , Jonathan Cameron , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: iio: meter: Remove reduntant __func__ from debug print Date: Wed, 7 Mar 2018 11:08:04 +0530 Message-Id: <20180307053804.13730-1-hariprasath.elango@gmail.com> X-Mailer: git-send-email 2.10.0.GIT Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: HariPrasath Elango dev_dbg includes the function name & line number by default when dynamic debugging is enabled. Hence__func__ is reduntant here and removed. Signed-off-by: HariPrasath Elango --- drivers/staging/iio/meter/ade7758_trigger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/meter/ade7758_trigger.c b/drivers/staging/iio/meter/ade7758_trigger.c index 1f0d1a0..da489ae 100644 --- a/drivers/staging/iio/meter/ade7758_trigger.c +++ b/drivers/staging/iio/meter/ade7758_trigger.c @@ -34,7 +34,7 @@ static int ade7758_data_rdy_trigger_set_state(struct iio_trigger *trig, { struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); - dev_dbg(&indio_dev->dev, "%s (%d)\n", __func__, state); + dev_dbg(&indio_dev->dev, "(%d)\n", state); return ade7758_set_irq(&indio_dev->dev, state); }