From patchwork Mon Aug 7 23:29:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 9886289 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9BE4260364 for ; Mon, 7 Aug 2017 23:29:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 89CAE27FB6 for ; Mon, 7 Aug 2017 23:29:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E1EB28744; Mon, 7 Aug 2017 23:29:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 495C027FB6 for ; Mon, 7 Aug 2017 23:29:55 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 2FD4C26734C; Tue, 8 Aug 2017 01:29:34 +0200 (CEST) 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 9DB78267348; Tue, 8 Aug 2017 01:29:31 +0200 (CEST) Received: from mail-yw0-f193.google.com (mail-yw0-f193.google.com [209.85.161.193]) by alsa0.perex.cz (Postfix) with ESMTP id DD33126733B for ; Tue, 8 Aug 2017 01:29:26 +0200 (CEST) Received: by mail-yw0-f193.google.com with SMTP id u207so1238362ywc.0 for ; Mon, 07 Aug 2017 16:29:26 -0700 (PDT) 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=3AE0nFasTphSvQJIQNnKXLMERjC4p9/ApRhFKZrBUvs=; b=h7rRT3xTo9zHzhpOmLmb3HX4kNipATtaZRjb69r5UerMsnvffAiEL7KcXDJQnEpIX4 MXvWIoR6dBkUrGy+NoEi0j6nUxTAa8r1hOtMZDhcDjcWntBiQcJn19qMQ5o+b5SA9qEd cKqGa5OtKBa4KemDIgG8O/1EAnnDrRs9weoftmkF6g7epuRiFa6kkAnqQSTkbkaZB3HJ yBxeMDzjo6TioW14RyYNU+kTm6AozRsiRSq5IVjP18JwU8GLyaUrTiudDOrYz5hL/xLW Bkcx2lf58dLO65D7+J0sDGNlpkZZhbR4iufLqF9YGsTTyaestZlPREqmSP6Wfdj8l497 BJJw== X-Gm-Message-State: AHYfb5j1rp4sJLoSYDTbARrK2wHqvhf0TOoWFZTHA4xKm8CwGGWUatH8 jeeAGaXfaSsQbbVPLhY= X-Received: by 10.37.244.77 with SMTP id p13mr1850793ybe.116.1502148564483; Mon, 07 Aug 2017 16:29:24 -0700 (PDT) Received: from localhost.localdomain (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.googlemail.com with ESMTPSA id r65sm3385342ywb.83.2017.08.07.16.29.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 16:29:24 -0700 (PDT) From: Rob Herring To: Takashi Iwai Date: Mon, 7 Aug 2017 18:29:19 -0500 Message-Id: <20170807232919.30247-2-robh@kernel.org> X-Mailer: git-send-email 2.11.0 Cc: Johannes Berg , linuxppc-dev@lists.ozlabs.org, alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH v3] sound: aoa: Convert to using %pOF instead of full_name 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 Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring Cc: Johannes Berg Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: linuxppc-dev@lists.ozlabs.org Cc: alsa-devel@alsa-project.org --- v3: Split aoa to separate patch sound/aoa/codecs/tas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/aoa/codecs/tas.c b/sound/aoa/codecs/tas.c index 733b6365dad6..15c05755d270 100644 --- a/sound/aoa/codecs/tas.c +++ b/sound/aoa/codecs/tas.c @@ -905,8 +905,8 @@ static int tas_i2c_probe(struct i2c_client *client, goto fail; } printk(KERN_DEBUG - "snd-aoa-codec-tas: tas found, addr 0x%02x on %s\n", - (unsigned int)client->addr, node->full_name); + "snd-aoa-codec-tas: tas found, addr 0x%02x on %pOF\n", + (unsigned int)client->addr, node); return 0; fail: mutex_destroy(&tas->mtx);