[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqJ8XkowAJQjZoiuucAWqZuJh1ep2jCFor6NCq4pL3m-Cg@mail.gmail.com>
Date: Tue, 27 Nov 2018 10:51:09 -0600
From: Rob Herring <robh@...nel.org>
To: tiny.windzz@...il.com
Cc: Sebastian Reichel <sre@...nel.org>,
"open list:THERMAL" <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] power/reset: axxia: Convert to using %pOFn instead of device_node.name
On Sat, Nov 24, 2018 at 8:31 AM Yangtao Li <tiny.windzz@...il.com> 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: Yangtao Li <tiny.windzz@...il.com>
> ---
> drivers/power/reset/axxia-reset.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, but I already sent out the same patch and have queued it since
no one picked it up.
Rob
>
> diff --git a/drivers/power/reset/axxia-reset.c b/drivers/power/reset/axxia-reset.c
> index 4e4cd1c8fe50..b16013265142 100644
> --- a/drivers/power/reset/axxia-reset.c
> +++ b/drivers/power/reset/axxia-reset.c
> @@ -65,7 +65,7 @@ static int axxia_reset_probe(struct platform_device *pdev)
>
> syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon");
> if (IS_ERR(syscon)) {
> - pr_err("%s: syscon lookup failed\n", dev->of_node->name);
> + pr_err("%pOFn: syscon lookup failed\n", dev->of_node);
> return PTR_ERR(syscon);
> }
>
> --
> 2.17.0
>
Powered by blists - more mailing lists