Received: by 10.223.185.116 with SMTP id b49csp4643427wrg; Tue, 6 Mar 2018 21:12:33 -0800 (PST) X-Google-Smtp-Source: AG47ELv3sYuMqvftxRWUHad7REctZvS2+UhI9Ziu4TRXOlySXaSCnW8eNom4hDhplzQ9BSpXIuB3 X-Received: by 10.99.54.196 with SMTP id d187mr16198411pga.154.1520399553047; Tue, 06 Mar 2018 21:12:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520399553; cv=none; d=google.com; s=arc-20160816; b=JdwwSJfS3QU2S3EoqGzv4AUNGrE3HRMC9iz3wF1UHsLkd2G6YSxmH/92plTgfjyIyS /25/QzbaE+3+UK6ZBofxFK/k6pz1pCNPpUx+acJ29ODfP2qen/jVcmv2gXuh/E6ag7po euTt3wF25pPwPEng/1HSqqr6Upc8AahK6DTs0Q/tpaZVXG783xBiMECKU9zV5iadwHcP 51EF/HiO1Q6WxkUfKQAbWGQKeiYycMA4DPe2UExtgOnK8CIQw53K848eL0j+6k7wQ5UJ Njtgo/mUp54Tz/HdgqDxXFl9n4sjjWqGPL30IV4RJkagwBmlQGNMJCuy21gTn71mWxIv 9NzA== 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=GHXosa83ZMaaIVuLVJF8h4BAD9Wkx1mN8m73UQPfo9FVLLdUFskGzmv5hDmxHfe670 zJ+SiVxdxQTtrowVNgtxzA4aiVfYAwChBw5Q2S+rkKf+I6m1OeHWqIdDAvQo0qOu7r9N G7B7O5AGQ8cqo6jvMMcFm5SYWbb0zCgoOThDmGDtwyNIpPMfArwbYQQtjN0Q1+GarMxb rYHC+BIRzOLIhqjDQr7aLJhbt4qNtZNMnBrZE8t+IHsXmYKAxXxJxzwqymVTZaIyzubj +RPeDhYDx+4Qw/LNf8rK1KktJ3edA3DaPJYJyyTN4xS1jFksdU79c+YiJg+QIS+Lg2nc UG3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IAW5ml5H; 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 y9si10789673pgv.776.2018.03.06.21.12.17; Tue, 06 Mar 2018 21:12: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IAW5ml5H; 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 S1751121AbeCGFK1 (ORCPT + 99 others); Wed, 7 Mar 2018 00:10:27 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:35879 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751088AbeCGFKY (ORCPT ); Wed, 7 Mar 2018 00:10:24 -0500 Received: by mail-pg0-f66.google.com with SMTP id i14so497289pgv.3; Tue, 06 Mar 2018 21:10:23 -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=IAW5ml5HuiI9Q5FC6kZf4mo7k+ibAP2MDzFhxvJJNKFwWT0AnvLqEgkShmiekbGbYP lAR4SeQ4NYr4Y952Lx+9SKAXp/kaORZ/fdHNC4+WPB0Chh/7ba4c/evzACCXmeaCrVqa oIbLrMC4ulAiKGV+SevYBPEhtlJSZ1h6+G8GDdqnQ1XTa7KdhDE8iCyvf+ArbXeR1dgs ah67utJ2oSjGF1XUOkXYBCHAK8BiM67qBGcmVGSAK+W4zqZgLa3AbEtxMnHTHRhT7gZi wjyCimPoO3G9/qTQBFq2C7s9rwj/kTBbZlNtiz28N25VFnM1QD3r2Bdsf455j+VVM9E7 cMaQ== 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=Weiu7Km5mM7oamS8EsqqXpS+289d4CPu8V47D7sRPBGD56j+qwYcMoGy1J1AU2LUAj Q7lLKgjJJZDY/eb2ZBtO9JDH4W2xM5w5ERvjb2du3Tvj8Euy2rO7VpfQ80olLi9wDm/I 2idf2C/d346qXWphLAs7FJ31OW3+c+QWaLtk2UhmM9XoZkYzkfhEyv2HHGW8AIXgXQIk J+YiCYi4oX38Ru/wxpwgERHtd6B5EqFFFp9CsXqwURolWmdIC81pCv7ozSEKstAW+aQh rxsw0zZXel+f1hoOVpwZmddvpuwsJrEocd7+72MIHEgug/iNCiOaw3K0yQCNhcDlcDTG egzg== X-Gm-Message-State: APf1xPAVGW0S3Sa2ckqWe1kohynXjRTO42ccLTTBrqqr2ZaUTZTWXa7x XBk9J2sKudupVIPc5FSrtNU= X-Received: by 10.99.114.18 with SMTP id n18mr16998221pgc.169.1520399423640; Tue, 06 Mar 2018 21:10:23 -0800 (PST) Received: from localhost.localdomain ([2405:204:744b:4256:6d70:b94:ba91:76f1]) by smtp.gmail.com with ESMTPSA id g80sm34898833pfj.101.2018.03.06.21.10.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 21:10:22 -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: adc: Remove reduntant __func__ from debug print Date: Wed, 7 Mar 2018 10:40:05 +0530 Message-Id: <20180307051005.13038-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