2018-12-18 15:53:55

by Marco Felsch

[permalink] [raw]
Subject: [PATCH] device property: fix fwnode_graph_get_next_endpoint documentation

Sync documentation with code.

Fixes: 07bb80d40b0e ("device property: Add support for remote endpoints")
Signed-off-by: Marco Felsch <[email protected]>
---
drivers/base/property.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/property.c b/drivers/base/property.c
index 240ab5230ff6..e5a58614f8e0 100644
--- a/drivers/base/property.c
+++ b/drivers/base/property.c
@@ -1341,7 +1341,7 @@ int fwnode_irq_get(struct fwnode_handle *fwnode, unsigned int index)
EXPORT_SYMBOL(fwnode_irq_get);

/**
- * device_graph_get_next_endpoint - Get next endpoint firmware node
+ * fwnode_graph_get_next_endpoint - Get next endpoint firmware node
* @fwnode: Pointer to the parent firmware node
* @prev: Previous endpoint node or %NULL to get the first
*
--
2.19.1



2018-12-18 21:34:51

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] device property: fix fwnode_graph_get_next_endpoint documentation

On Tue, Dec 18, 2018 at 4:52 PM Marco Felsch <[email protected]> wrote:
>
> Sync documentation with code.
>
> Fixes: 07bb80d40b0e ("device property: Add support for remote endpoints")
> Signed-off-by: Marco Felsch <[email protected]>

I'll pick up this one if that's fine by everyone.

> ---
> drivers/base/property.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/base/property.c b/drivers/base/property.c
> index 240ab5230ff6..e5a58614f8e0 100644
> --- a/drivers/base/property.c
> +++ b/drivers/base/property.c
> @@ -1341,7 +1341,7 @@ int fwnode_irq_get(struct fwnode_handle *fwnode, unsigned int index)
> EXPORT_SYMBOL(fwnode_irq_get);
>
> /**
> - * device_graph_get_next_endpoint - Get next endpoint firmware node
> + * fwnode_graph_get_next_endpoint - Get next endpoint firmware node
> * @fwnode: Pointer to the parent firmware node
> * @prev: Previous endpoint node or %NULL to get the first
> *
> --
> 2.19.1
>

2018-12-18 22:11:32

by Sakari Ailus

[permalink] [raw]
Subject: Re: [PATCH] device property: fix fwnode_graph_get_next_endpoint documentation

On Tue, Dec 18, 2018 at 10:33:07PM +0100, Rafael J. Wysocki wrote:
> On Tue, Dec 18, 2018 at 4:52 PM Marco Felsch <[email protected]> wrote:
> >
> > Sync documentation with code.
> >
> > Fixes: 07bb80d40b0e ("device property: Add support for remote endpoints")
> > Signed-off-by: Marco Felsch <[email protected]>
>
> I'll pick up this one if that's fine by everyone.

Please add:

Acked-by: Sakari Ailus <[email protected]>

>
> > ---
> > drivers/base/property.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/base/property.c b/drivers/base/property.c
> > index 240ab5230ff6..e5a58614f8e0 100644
> > --- a/drivers/base/property.c
> > +++ b/drivers/base/property.c
> > @@ -1341,7 +1341,7 @@ int fwnode_irq_get(struct fwnode_handle *fwnode, unsigned int index)
> > EXPORT_SYMBOL(fwnode_irq_get);
> >
> > /**
> > - * device_graph_get_next_endpoint - Get next endpoint firmware node
> > + * fwnode_graph_get_next_endpoint - Get next endpoint firmware node
> > * @fwnode: Pointer to the parent firmware node
> > * @prev: Previous endpoint node or %NULL to get the first
> > *
> > --
> > 2.19.1
> >

--
Sakari Ailus
[email protected]