Received: by 10.223.185.116 with SMTP id b49csp4661762wrg; Tue, 6 Mar 2018 21:40:01 -0800 (PST) X-Google-Smtp-Source: AG47ELuqELPSpkHntLI4/3ZAYzTJ+Z3PQORI8UN/i9gaTTbY+0BegOXkgt6Kedoqt9rBqbOIxZ8I X-Received: by 2002:a17:902:7612:: with SMTP id k18-v6mr19012905pll.397.1520401201815; Tue, 06 Mar 2018 21:40:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520401201; cv=none; d=google.com; s=arc-20160816; b=dQR6bEebZIbqVXVWmoLxzqYr+ae+XL/9VJHnarhU2Cc9L4RJHIwJyzdZeevBkhVmB+ ik86LEjZHMehzbuGlUWzmBBNev8pxpLTujnIO7H+hkoXaqFlyb3OkTOCSWlpMN6tqnIL xhencyAiA3o7D9Hcag2/4PDiBYuV6nTjXXlYKKcFOqSLKVYTbu+RzXHdLDY6s19E3Qeb w6Yp85AW9VQKzzynM61rFLKxwLWeUfyz6xexfw3y2lxeNi0uGEL2OOvhVGlvsjhD8nBJ hWCcc6Hw6VsB6NfEXCH99woujVjlu5yX4EX5AoUgJ0vis5U/j+NRHaqoMAMBPDYnJYxb hN6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=7cof7dnW62MlUfUNxwmQIPiYv1eECHY07minzQpIwE0=; b=j0KlVx0o57JXjqhGrR6Cn2sjVIfa2BOqjcpMUnlE3LDmQxbyySwxqtdy8SsIP0F2B1 6T5wyHZoYFm5dW18hdk20Q15r4FTW4Bok4MH2aCPb8KsbD8VYq/akgUZ738OlSazpTL0 7NR74knQe3ffW5RutZQeyu+YG/y/HtTd2WjUcGkNmdEACr+JycweersZVlwPScZlNU94 o2fyQLq7EOjn4R49/wPbBUzVXDimfmxQq49XoTpZ7sBL6TGahE55q2M2mNZ8U1KD+f83 1bxHlsPuvOMz3FlYGviWOtYNNnkMqz6WZAMB+L/mj9C7ROfXftIe2/LfEV5+86dsVSSY xDFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k6eVjshV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si9973269pgp.91.2018.03.06.21.39.47; Tue, 06 Mar 2018 21:40:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k6eVjshV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751133AbeCGFia (ORCPT + 99 others); Wed, 7 Mar 2018 00:38:30 -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-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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); } -- 2.10.0.GIT