Received: by 10.223.185.116 with SMTP id b49csp5453833wrg; Wed, 7 Mar 2018 12:02:34 -0800 (PST) X-Google-Smtp-Source: AG47ELsnFJSeXbsfU6Sjkm9zNU37rwqE6La4nLToc9ZyxLABv+6suObqSh5GJYo96gTAuiNYBcur X-Received: by 10.99.94.197 with SMTP id s188mr18728749pgb.363.1520452953969; Wed, 07 Mar 2018 12:02:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520452953; cv=none; d=google.com; s=arc-20160816; b=Gvox1rQohEETH0vfmw505Sp7qt6CriC+4MM+HLq6fcZhbptaFyBoKcgMdhT4/4gZjc Y5Kd+vGAd+0xGC+lfW7Ec9WKndg861xCDO6c2lHnmRGKRS5N6XuJFcKIzKRY70hCf9X3 HoxyHWoic30j9toZKf+oS861fvY5yNTUGV6ya9kPCcnrWM/Cvs1j49UPJW/62/oCByN5 4m6MKAzlrKokfwPnVloxtUbQq9hn0uaQwe6VFGwHn2zwCPWV7ZZOchtWROtKJpPovk1m z1gwaIIiRC4Cb7TM5diTddruD+5m3t4I+7dbBxNIAberDNelgGrXlzlX2gHj9FFjOHfN /HrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=y9vy8Wt/xN9UORlVNAeX4cEydkzu0FD8OiWM5KCcLn8=; b=PkRxZomGSrpQUEjwpOskU7cytbhBii0yGbeq95mKxfHn7UkhYELT2zf7VWvJF8Dop2 0xa6ySsEU9vTr0DwCVA3of6G2vKeCzpEvAIhGju/RdirdhdXV6hDCeKD8P5Pzhc0w7iK tdFvtUNauriS8mQ2Ck8E8zaO47QRSP8Sq2mOv3IliaWsbye3owlGSrBnfD2k0d880xOf eS+66bl+sCM0u27Gsakdnt3maz4siHdv+eq2/0AtHaxI5FTPyXEpfXbVymdtMUe3VdBo MNbv0ytptNzPr/GKU4JOkG4ymyuajt91thLNJiZ8SH5iY6XBMEmR/XMNlhwA57sNJe9L ufdg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a189si11892254pgc.123.2018.03.07.12.02.18; Wed, 07 Mar 2018 12:02:33 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965709AbeCGUAE (ORCPT + 99 others); Wed, 7 Mar 2018 15:00:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:49888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934619AbeCGUAD (ORCPT ); Wed, 7 Mar 2018 15:00:03 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E5A2820685; Wed, 7 Mar 2018 20:00:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E5A2820685 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Wed, 7 Mar 2018 19:59:57 +0000 From: Jonathan Cameron To: hariprasath.elango@gmail.com Cc: lars@metafoo.de, Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: iio: meter: Remove reduntant __func__ from debug print Message-ID: <20180307195957.436c4c74@archlinux> In-Reply-To: <20180307053804.13730-1-hariprasath.elango@gmail.com> References: <20180307053804.13730-1-hariprasath.elango@gmail.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Mar 2018 11:08:04 +0530 hariprasath.elango@gmail.com wrote: > 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 Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Please note that, after discussions with Michael, I'm planning to send out an email stating these meter drivers will be dropped next cycle unless we have someone come forward who can test them. We can't realistically do the work needed to move them out of testing without a high risk of breaking them and they are 'not suitable for new designs'. Ah well, we'll see - someone might care and be able to help Thanks Jonathan > --- > 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); > } >