From patchwork Tue Aug 28 01:52:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 10577765 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 91E6413B8 for ; Tue, 28 Aug 2018 01:53:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84FB929A72 for ; Tue, 28 Aug 2018 01:53:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7976529A90; Tue, 28 Aug 2018 01:53:46 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2769329A74 for ; Tue, 28 Aug 2018 01:53:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727462AbeH1Fm0 (ORCPT ); Tue, 28 Aug 2018 01:42:26 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:37538 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727457AbeH1FmZ (ORCPT ); Tue, 28 Aug 2018 01:42:25 -0400 Received: by mail-oi0-f67.google.com with SMTP id p84-v6so21525oic.4; Mon, 27 Aug 2018 18:53:10 -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:in-reply-to :references; bh=LD5n8vla70O/8QlW/oYQ2vGBTkQH4y8gWqmkkMFpZUk=; b=VM+30xpRqcRjc15C+RamDpr0DxH8NzWWT6xCDPCebowz+M1mS93CLqkFOCt6BBvexn bhaS2wpLtIILPu9cGZfx/IQamTYuUOjOWRVqpU2arXC7PrD8MvvzQF0589pjX+hlr6o8 qSQvXnmyW6xz9MHMPwnsb3rAntNdLIwh/7NfUdTDOkj+Q6gHHXrdMtDLWsYoohrjexjn qCLIAHkLVVjIfbNTbtDkXtSZNUb2m2RT5ZuSVWSS6OEVhys07Pf1vPzRzsyWMLWcwfi8 ZyIAQ2PxI2/MwQ6wQSHZ14Svrpe59tA/ggBjcbdKX1LtxIJJlEx/2sBmBokZ9CHuApUf rD0g== X-Gm-Message-State: APzg51AyFXDjINJYLsqyVQc/pSuDIkR9eK6duxMsZ7A9YwckQ+mGWnIy e9Lwy7lI369k79ZuiK227zwsJ2E= X-Google-Smtp-Source: ANB0VdZyYN/g81IBDks6lxim/7+dRpHUpikIGXeL/yzEOl1l/ezwI7dkWO3ms7RtUxcukiic84J7yA== X-Received: by 2002:aca:5cd4:: with SMTP id q203-v6mr964953oib.217.1535421189706; Mon, 27 Aug 2018 18:53:09 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id n71-v6sm1652696oig.48.2018.08.27.18.53.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:53:09 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Dan Williams , Vinod Koul , dmaengine@vger.kernel.org Subject: [PATCH] dmaengine: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:17 -0500 Message-Id: <20180828015252.28511-16-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180828015252.28511-1-robh@kernel.org> References: <20180828015252.28511-1-robh@kernel.org> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Dan Williams Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Signed-off-by: Rob Herring --- drivers/dma/nbpfaxi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/nbpfaxi.c b/drivers/dma/nbpfaxi.c index 8c7b2e8703da..8d4914cd06f0 100644 --- a/drivers/dma/nbpfaxi.c +++ b/drivers/dma/nbpfaxi.c @@ -1095,8 +1095,8 @@ static struct dma_chan *nbpf_of_xlate(struct of_phandle_args *dma_spec, if (!dchan) return NULL; - dev_dbg(dchan->device->dev, "Entry %s(%s)\n", __func__, - dma_spec->np->name); + dev_dbg(dchan->device->dev, "Entry %s(%pOFn)\n", __func__, + dma_spec->np); chan = nbpf_to_chan(dchan);