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: 109602 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2219072qge; Mon, 7 Aug 2017 16:29:54 -0700 (PDT) X-Received: by 10.28.31.197 with SMTP id f188mr1470604wmf.62.1502148594227; Mon, 07 Aug 2017 16:29:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502148594; cv=none; d=google.com; s=arc-20160816; b=aQt/LlcbJnR1szeZecdtkzE2U0seOFtXjqB08TfmztMqp4+mlFzc3gTDKrQ7A6+tsd 3WtqQjcEUtD7tamAaXMrmTStiZH80fLizk7IsG7bX+x1adUNYfpEHpUStb2/7fuQ66PF FByl46bnNR4c5kk7vTXd+MfVPXBiiBvHJjQaTgW0EN6OMnW6IOUnGEsFnox+xQbdimGm iUWRU1f8qq67ETcFau/AAcQEESm5wvmw6ak6wb4Tzq/Au9MpQkiO4z7zQQD5+DkXtsxM IZkCyCBIbwXXSZjDYMbjXo2qQF3IAvcp1IcG0Ssom0l3ojzGx86KwVnrhD9y8rTBzg57 9JoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=Vte2kYN6N6JireYLSzPZ/bWx/vQOqAABx7oGp0BTTG0=; b=StMPxv8Hp/BusoRMUdxGaWqVwCgF0yM9E/jzNVIqg1hLa82aWIQ8/blPA5lftKzDjs Q3kpVWVjwURT44ZQaEcwYSPGuvZxCV7tWPDhzR88hOTKMPso+yqxOpc+h1d9Zled4qcY Zy+uI61a6EFjMvtN2h89LOHFeZbBATBEPKLILmPHkEaro1uu+pLIm6l7t5yiLxB+OtUc C2ZHyVm/XMYI1bPzF6aRvyZi2mlKGkKwBBKg8OqX/ApBjsjQBdlZhO7/TPE8w4Hl1fMy FFSQIFg/rt+38ppJxC1Fgg1w6jJuBPMHCADtdJVBcodqlgqi/e5rVu/cYKlK5V4IisSC cA+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id w133si155258wmf.184.2017.08.07.16.29.52; Mon, 07 Aug 2017 16:29:54 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, SPF_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 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 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(-) -- 2.11.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel 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);