All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] power/reset: axxia: Convert to using %pOFn instead of device_node.name
@ 2018-11-24 14:31 Yangtao Li
  2018-11-27 16:51 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Yangtao Li @ 2018-11-24 14:31 UTC (permalink / raw)
  To: robh, sre; +Cc: linux-pm, linux-kernel, Yangtao Li

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@gmail.com>
---
 drivers/power/reset/axxia-reset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] power/reset: axxia: Convert to using %pOFn instead of device_node.name
  2018-11-24 14:31 [PATCH] power/reset: axxia: Convert to using %pOFn instead of device_node.name Yangtao Li
@ 2018-11-27 16:51 ` Rob Herring
  2018-12-05 21:49   ` Sebastian Reichel
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2018-11-27 16:51 UTC (permalink / raw)
  To: tiny.windzz; +Cc: Sebastian Reichel, open list:THERMAL, linux-kernel

On Sat, Nov 24, 2018 at 8:31 AM Yangtao Li <tiny.windzz@gmail.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@gmail.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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] power/reset: axxia: Convert to using %pOFn instead of device_node.name
  2018-11-27 16:51 ` Rob Herring
@ 2018-12-05 21:49   ` Sebastian Reichel
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Reichel @ 2018-12-05 21:49 UTC (permalink / raw)
  To: Rob Herring; +Cc: tiny.windzz, open list:THERMAL, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]

Hi,

On Tue, Nov 27, 2018 at 10:51:09AM -0600, Rob Herring wrote:
> On Sat, Nov 24, 2018 at 8:31 AM Yangtao Li <tiny.windzz@gmail.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@gmail.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.

Yeah, I did not find enough time to review patches in the last few
weeks. OTOH I don't see a previous patch with axxia in the Subject
in my mailbox anyways. FWIW I will skip this one.

-- Sebastian

> 
> 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
> >

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-05 21:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-24 14:31 [PATCH] power/reset: axxia: Convert to using %pOFn instead of device_node.name Yangtao Li
2018-11-27 16:51 ` Rob Herring
2018-12-05 21:49   ` Sebastian Reichel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.