From patchwork Wed Jan 7 15:44:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 5585451 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 369899F443 for ; Wed, 7 Jan 2015 15:47:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78EAF2021A for ; Wed, 7 Jan 2015 15:47:36 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 578D520221 for ; Wed, 7 Jan 2015 15:47:35 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 793C6264FBA; Wed, 7 Jan 2015 16:47:34 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id B2B182650FE; Wed, 7 Jan 2015 16:45:44 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id EA7AE26512B; Wed, 7 Jan 2015 16:45:42 +0100 (CET) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by alsa0.perex.cz (Postfix) with ESMTP id BD76026059A for ; Wed, 7 Jan 2015 16:45:04 +0100 (CET) Received: by mail-vc0-f170.google.com with SMTP id hy4so582334vcb.1 for ; Wed, 07 Jan 2015 07:45:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QoWpoBzcIoxzpBKKUhFNm9gM/oRx6//fCRo4ri59SXc=; b=chH2Dm4wAPj0wTj7mJS+scBB3EnkCwNrvalZvmR4o8kMRYOPy3cmCQHG+N3M8umGIE d8nXyt2k8U/rllpVyPMXkEgqse0ieSjyK7zxPUomWKXk0WFH7hwZsnmsReKSL2pFViSw dRUQ2Cj2vj36jQJ5itOe6wCLtOCyVEJGrfJQ0UWb+h8fKlL68QwJjM5iU3s/p1DWbD2F MvGcWsSbnhneDylLGXg/mKemakf7s/hqbuguxnEUC+XYBjm7CY90jGoWzPI4txKzu1vU 2oYwjnleDm/pvPYN8jAz6ecIaG0MH/4l5WR6n8Y4GNezDFopOJRi5EcRoav75xiagbl6 fwBg== X-Received: by 10.52.28.233 with SMTP id e9mr2115030vdh.61.1420645504195; Wed, 07 Jan 2015 07:45:04 -0800 (PST) Received: from localhost.localdomain ([179.159.214.140]) by mx.google.com with ESMTPSA id qf19sm518422vdb.26.2015.01.07.07.45.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jan 2015 07:45:03 -0800 (PST) From: Fabio Estevam To: broonie@kernel.org Date: Wed, 7 Jan 2015 13:44:36 -0200 Message-Id: <1420645476-13193-5-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1420645476-13193-1-git-send-email-festevam@gmail.com> References: <1420645476-13193-1-git-send-email-festevam@gmail.com> Cc: nicoleotsuka@gmail.com, Fabio Estevam , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH 5/5] ASoC: fsl_spdif: Make error message concise X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam Currently the error message uses 'np->full_name' which leads to a very verbose log that contains the full path of the node. We can have a concise log by using pdev->name instead. Signed-off-by: Fabio Estevam --- sound/soc/fsl/fsl_spdif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 73da1f0..75870c0 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c @@ -1189,7 +1189,7 @@ static int fsl_spdif_probe(struct platform_device *pdev) irq = platform_get_irq(pdev, 0); if (irq < 0) { - dev_err(&pdev->dev, "no irq for node %s\n", np->full_name); + dev_err(&pdev->dev, "no irq for node %s\n", pdev->name); return irq; }