Received: by 10.223.185.116 with SMTP id b49csp4647365wrg; Tue, 6 Mar 2018 21:18:34 -0800 (PST) X-Google-Smtp-Source: AG47ELtXORgCNq/4Zrqqy8x6x/BiDC8O476COFRkAH91voY42S5DEGf+rFg8uxbT6S4+hop8EPit X-Received: by 2002:a17:902:24c1:: with SMTP id l1-v6mr19160168plg.281.1520399914217; Tue, 06 Mar 2018 21:18:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520399914; cv=none; d=google.com; s=arc-20160816; b=H6oZxtgzWAaBNDiYYPIN5npjiK3stZU/cFw8Ep/6Mo6oCuEa+6ZLvZFwcuTZoCu37S 7gcp4jvNpF2sb+8H/nexOmH8XC5aNWEwx0pvFariScJha/HD8fz8Enw/ZoyIIUhKTJxR XwmUv3aSjNmT8H2rzylSFSEvT53NE3CiHDlONTIk1+Hgr9wQhpeb4yWGdT9dfdoU0UyR BIyBB1Ev+w5pMr7SxY2a/JBcQbHTkTLymgb1Vb25IFnZrN2xXvwNUZ7uy9MKlQ3rK2Cc JwgNc5TUW62lV4ZAkfvZ0jOrDiYwp1cW+uh2wUXCaECIIFUP5rdYndzmAD5lc2ldI+OF qqtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature:arc-authentication-results; bh=QZrm8QNdb4Dtp9HmgYOjNj0pHDs9zAepSUE4NTasqkA=; b=GPCEHhuLGER2hddweItg9+/SVRFK0Sdh65pbVQXGv8ueFlRWg7i0TUZpUfBro1671C HdvxaAxZyrCcQLIRveJdBhXms2b4Zxi0nrQIWCaEXyuT/8YS4Wxoq+Poa1jbXPw5owCT FHToU/HIsPMom9hJBxkBkgsrJKg9ptP8+o0oLbk6tXfoMjCM2Ti30k9gXVyBpnlze7QR j3idx9DV1U3E7eGlpDw/mCs2at5jhM3Jgs9xy6F1Mxaoxg18ku8GI5yD7hxbxTPRDST8 WzrEiIElc1TfBs0J8XpWx3sSbPZIhHB3yZhxReOPKGR5isxpnVbsJ37UzrHTQsntB8rT /NdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rVnFAu49; 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 f127si10854277pgc.49.2018.03.06.21.18.19; Tue, 06 Mar 2018 21:18:34 -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=rVnFAu49; 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 S1751036AbeCGFRZ (ORCPT + 99 others); Wed, 7 Mar 2018 00:17:25 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:35938 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbeCGFRX (ORCPT ); Wed, 7 Mar 2018 00:17:23 -0500 Received: by mail-it0-f66.google.com with SMTP id u5so1821393itc.1; Tue, 06 Mar 2018 21:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=QZrm8QNdb4Dtp9HmgYOjNj0pHDs9zAepSUE4NTasqkA=; b=rVnFAu49eDxI4wCBqb9pO1GGr8PCGpvo60HSWs/tD6X68dxlPrTwHaG19J9Nfrt34w uTVqRyNK+DqdRCAk9SCIlEqpf3gquHoT3cYI1E8Osu2Ej6vm7rX8TGxKVhZAuKFGEKQb GMoyfzaZJJJLCEroRknL9KzUtPtZxaYY9zOzOi+QjMdbo/bvDY1x5Jt53Z7pswHC/6hq 6lFDmg1R5jl5y6FWK7wsEMZGpHpEwrijo4ZSzDsOpbBTwQiJZea+zl7+R1zeOM/h6psA Wyqa57K853RfAkuYVnBEaAyylaw99rO/FWHRtWTWQArwfkxFrbNNXttdOMrYivlW7HRQ YKRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QZrm8QNdb4Dtp9HmgYOjNj0pHDs9zAepSUE4NTasqkA=; b=oqFSJOoV/2DDeQJqrWlzsXkP/hWI3kIe7y52gFGQlv6WyiiuUh5OoHv26Z/Q4wmzoS mxfuBoI5pcWFuLmZrqwLCEF8IJyOBwfG9yo+Y9FLPP6gBGapYTPwR56+u5OcZqNKR1Hs I5aNjKJjrWLNwMqvwzjKD5y2jsB5pK5yzp3dENlAf+Rk/N2GrOa7v4GRt/+IzyN1pUNd keNpOsf2Slzz3hojcJMaYQ3aeAMf0z+HM/z7bdrz+XwrLOVD2baENIhKGXN2X9czc6RZ Nxq+twWW1burAEecRiDYAX9nJ+lY2lotrtGQExxjWPB1PQB72Af6Csx/UypgE2nI3GDS R2hA== X-Gm-Message-State: AElRT7GxDwH3PStwOeijWmkRvlBlOvvdy7SfSgokazY9WFw4BPljRVG8 riyUE8mfObe489oH23LW5qY= X-Received: by 10.36.116.73 with SMTP id o70mr8839023itc.82.1520399842731; Tue, 06 Mar 2018 21:17:22 -0800 (PST) Received: from hariprasath ([2405:204:744b:4256:6d70:b94:ba91:76f1]) by smtp.gmail.com with ESMTPSA id l16sm10809381ioc.80.2018.03.06.21.17.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 21:17:21 -0800 (PST) From: "" X-Google-Original-From: "" Date: Wed, 7 Mar 2018 10:47:10 +0530 To: hariprasath.elango@gmail.com Cc: lars@metafoo.de, 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: Re: [PATCH] staging: iio: adc: Remove reduntant __func__ from debug print Message-ID: <20180307051710.GA13147@hariprasath> References: <20180307051005.13038-1-hariprasath.elango@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180307051005.13038-1-hariprasath.elango@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 07, 2018 at 10:40:05AM +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 > --- > 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 > Please ignore this patch as the subject line is wrong. It should be 'meter' and not 'adc.