Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1690742 > unrolled thread
| Started by | Rob Herring <robh@kernel.org> |
|---|---|
| First post | 2017-07-19 00:00 +0200 |
| Last post | 2017-07-20 07:30 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH] devfreq: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-19 00:00 +0200
Re: [PATCH] devfreq: Convert to using %pOF instead of full_name Chanwoo Choi <cw00.choi@samsung.com> - 2017-07-19 03:40 +0200
RE: Re: [PATCH] devfreq: Convert to using %pOF instead of full_name MyungJoo Ham <myungjoo.ham@samsung.com> - 2017-07-20 07:30 +0200
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-07-19 00:00 +0200 |
| Subject | [PATCH] devfreq: Convert to using %pOF instead of full_name |
| Message-ID | <u4IHa-7NO-73@gated-at.bofh.it> |
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 <robh@kernel.org>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: linux-pm@vger.kernel.org
---
drivers/devfreq/devfreq-event.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/devfreq/devfreq-event.c b/drivers/devfreq/devfreq-event.c
index 8648b32ebc89..d67242d87744 100644
--- a/drivers/devfreq/devfreq-event.c
+++ b/drivers/devfreq/devfreq-event.c
@@ -277,8 +277,8 @@ int devfreq_event_get_edev_count(struct device *dev)
sizeof(u32));
if (count < 0) {
dev_err(dev,
- "failed to get the count of devfreq-event in %s node\n",
- dev->of_node->full_name);
+ "failed to get the count of devfreq-event in %pOF node\n",
+ dev->of_node);
return count;
}
--
2.11.0
[toc] | [next] | [standalone]
| From | Chanwoo Choi <cw00.choi@samsung.com> |
|---|---|
| Date | 2017-07-19 03:40 +0200 |
| Message-ID | <u4M81-1zI-3@gated-at.bofh.it> |
| In reply to | #1690742 |
Hi,
On 2017년 07월 19일 06:42, Rob Herring wrote:
> 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 <robh@kernel.org>
> Cc: Chanwoo Choi <cw00.choi@samsung.com>
> Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
> Cc: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: linux-pm@vger.kernel.org
> ---
> drivers/devfreq/devfreq-event.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/devfreq/devfreq-event.c b/drivers/devfreq/devfreq-event.c
> index 8648b32ebc89..d67242d87744 100644
> --- a/drivers/devfreq/devfreq-event.c
> +++ b/drivers/devfreq/devfreq-event.c
> @@ -277,8 +277,8 @@ int devfreq_event_get_edev_count(struct device *dev)
> sizeof(u32));
> if (count < 0) {
> dev_err(dev,
> - "failed to get the count of devfreq-event in %s node\n",
> - dev->of_node->full_name);
> + "failed to get the count of devfreq-event in %pOF node\n",
> + dev->of_node);
> return count;
> }
>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
[toc] | [prev] | [next] | [standalone]
| From | MyungJoo Ham <myungjoo.ham@samsung.com> |
|---|---|
| Date | 2017-07-20 07:30 +0200 |
| Message-ID | <u5cc9-2Jk-1@gated-at.bofh.it> |
| In reply to | #1690877 |
> On 2017년 07월 19일 06:42, Rob Herring wrote:
> > 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 <robh@kernel.org>
> > Cc: Chanwoo Choi <cw00.choi@samsung.com>
> > Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
> > Cc: Kyungmin Park <kyungmin.park@samsung.com>
> > Cc: linux-pm@vger.kernel.org
> > ---
> > drivers/devfreq/devfreq-event.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/devfreq/devfreq-event.c b/drivers/devfreq/devfreq-event.c
> > index 8648b32ebc89..d67242d87744 100644
> > --- a/drivers/devfreq/devfreq-event.c
> > +++ b/drivers/devfreq/devfreq-event.c
> > @@ -277,8 +277,8 @@ int devfreq_event_get_edev_count(struct device *dev)
> > sizeof(u32));
> > if (count < 0) {
> > dev_err(dev,
> > - "failed to get the count of devfreq-event in %s node\n",
> > - dev->of_node->full_name);
> > + "failed to get the count of devfreq-event in %pOF node\n",
> > + dev->of_node);
> > return count;
> > }
> >
>
> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web