Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1243934imm; Fri, 28 Sep 2018 14:48:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV61WvL0j7oYsJajlaDs+qNngDVwyREujgcgvcI0vNdS+MUT0NcJaPXxHYSRpfc/FuKGlP+rM X-Received: by 2002:a63:1806:: with SMTP id y6-v6mr430653pgl.187.1538171296574; Fri, 28 Sep 2018 14:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538171296; cv=none; d=google.com; s=arc-20160816; b=z8y6y/q5WcCH5JjcKHlCP0KrOg+qh+EU2I3l1VYjz/Eoi3nyVN3IiI0YlSgcERTi/P WNyhmIPymRoMmAJTrq212Nouk2MpScK+h4fkdeYY6NL8qQwVobJj2hk8KyvlSNGI5jNd 8hVUSSNH3C7Ndv4IcvsXCPXrffh6vfWGZK0oE+JrkUlkRMlYILA8WrERw/hVuElOANxk v+lseksOC9z1yXcTeOf1Q7C2488iT5p/C4CjnjMqOwopgbD99X88dLSewmoLX6d4Bq3H mZ047HQt9+8w3yvxpjlDrxxPYpwEpz7s9FW+RZl34hMp7xgRRLUmPvGhLk8VM3ao0wtR BgGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PU4w7jRUDz8r3ppSVjgOZcLPXYCVpgdrY7+CSQiv37M=; b=iVt/WjPtMuJMUkrpFIMaXtRNpCKfNcr+jimm/y0UCkAUOMCy0eCsRXyXQm1b9wYlH7 Nm39TfJKs3iF7Ugu4HBI6B9HwJGj/oFV8ifCtmrPk42g2uBzixJjBt2sc0OdYdrToNlv CS83Ysip20v8D6AicBKKogA/zO5aYCK9uY7Olh861UIO2obYUV57BNp3ERPo0tCAlTd1 rzoAEhqmP1+DOy0U+L7tR2mWR7ujL2lT8bEH301/Iqt7YDosIGF6CtpmKKdqcKqmRhF+ sdJwFosQ2jEzdr0krTCpK1krGPXtOORHzI7h6CRTFuGQ7tPOBcKdGQj+ad4z6smD+god g/tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PhttaXW3; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4-v6si5813943pgj.417.2018.09.28.14.47.59; Fri, 28 Sep 2018 14:48:16 -0700 (PDT) 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=@kernel.org header.s=default header.b=PhttaXW3; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726251AbeI2ENd (ORCPT + 99 others); Sat, 29 Sep 2018 00:13:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:54124 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725266AbeI2ENd (ORCPT ); Sat, 29 Sep 2018 00:13:33 -0400 Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 404C7206B8 for ; Fri, 28 Sep 2018 21:47:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538171273; bh=xkUumvK2BkCGk7TbKuKqjHQctLrymKGVJHxNd8Y+Wu8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=PhttaXW3EwaLnsaexOuWLvpYGrCslnSXnqDF7sOkh5yXjlaaW64+CJ6NcZNVG1tK7 XBSjPv9PV0bK8y1hhE3Y5h0wnZgxz2Q+41h2lmBVU7GpA8v8HXAwL+rwcOYDZEaK0M 9Qspn8E+tjpQQ5j8uC24BSlXLpZNwhqFcG5P+0tc= Received: by mail-qt1-f179.google.com with SMTP id n6-v6so8312955qtl.4 for ; Fri, 28 Sep 2018 14:47:53 -0700 (PDT) X-Gm-Message-State: ABuFfogoVTJBahddcyvDGI0zbwPmsWAjog3yWX8yviLnAxVEfiFYBOMA XEoilYQPZeawbKZm3MK+kdZ/Ec9pr1JBFc4yeA== X-Received: by 2002:a0c:db87:: with SMTP id m7-v6mr439600qvk.90.1538171272475; Fri, 28 Sep 2018 14:47:52 -0700 (PDT) MIME-Version: 1.0 References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-17-robh@kernel.org> In-Reply-To: <20180828015252.28511-17-robh@kernel.org> From: Rob Herring Date: Fri, 28 Sep 2018 16:47:41 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] firmware: Convert to using %pOFn instead of device_node.name To: Sudeep Holla Cc: "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 27, 2018 at 8:53 PM Rob Herring wrote: > > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Signed-off-by: Rob Herring > --- > drivers/firmware/scpi_pm_domain.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Sudeep, looks like I missed Cc'ing you (or anyone) on this. Can you please ack or apply this. > > diff --git a/drivers/firmware/scpi_pm_domain.c b/drivers/firmware/scpi_pm_domain.c > index f395dec27113..390aa13391e4 100644 > --- a/drivers/firmware/scpi_pm_domain.c > +++ b/drivers/firmware/scpi_pm_domain.c > @@ -121,7 +121,7 @@ static int scpi_pm_domain_probe(struct platform_device *pdev) > > scpi_pd->domain = i; > scpi_pd->ops = scpi_ops; > - sprintf(scpi_pd->name, "%s.%d", np->name, i); > + sprintf(scpi_pd->name, "%pOFn.%d", np, i); > scpi_pd->genpd.name = scpi_pd->name; > scpi_pd->genpd.power_off = scpi_pd_power_off; > scpi_pd->genpd.power_on = scpi_pd_power_on; > -- > 2.17.1 >