Re: [net-next PATCH v2 10/14] device property: Introduce fwnode_get_id()

2020-12-17 Thread Calvin Johnson
On Tue, Dec 15, 2020 at 07:45:16PM +0200, Andy Shevchenko wrote: > On Tue, Dec 15, 2020 at 6:44 PM Calvin Johnson > wrote: > > > > Using fwnode_get_id(), get the reg property value for DT node > > and get the _ADR object value for ACPI node. > > and -> or > > ... > > > +/** > > + *

Re: [net-next PATCH v2 10/14] device property: Introduce fwnode_get_id()

2020-12-17 Thread Calvin Johnson
Hi Laurent, Thanks for reviewing. On Tue, Dec 15, 2020 at 07:00:28PM +0200, Laurent Pinchart wrote: > Hi Calvin, > > Thank you for the patch. > > On Tue, Dec 15, 2020 at 10:13:11PM +0530, Calvin Johnson wrote: > > Using fwnode_get_id(), get the reg property value for DT node > > and get the

Re: [net-next PATCH v2 10/14] device property: Introduce fwnode_get_id()

2020-12-15 Thread Andy Shevchenko
On Tue, Dec 15, 2020 at 7:00 PM Laurent Pinchart wrote: > On Tue, Dec 15, 2020 at 10:13:11PM +0530, Calvin Johnson wrote: > > Using fwnode_get_id(), get the reg property value for DT node > > and get the _ADR object value for ACPI node. ... > > +/** > > + * fwnode_get_id - Get the id of a

Re: [net-next PATCH v2 10/14] device property: Introduce fwnode_get_id()

2020-12-15 Thread Andy Shevchenko
On Tue, Dec 15, 2020 at 6:44 PM Calvin Johnson wrote: > > Using fwnode_get_id(), get the reg property value for DT node > and get the _ADR object value for ACPI node. and -> or ... > +/** > + * fwnode_get_id - Get the id of a fwnode. > + * @fwnode: firmware node > + * @id: id of the fwnode > +

Re: [net-next PATCH v2 10/14] device property: Introduce fwnode_get_id()

2020-12-15 Thread Laurent Pinchart
Hi Calvin, Thank you for the patch. On Tue, Dec 15, 2020 at 10:13:11PM +0530, Calvin Johnson wrote: > Using fwnode_get_id(), get the reg property value for DT node > and get the _ADR object value for ACPI node. > > Signed-off-by: Calvin Johnson > --- > > Changes in v2: None > >

[net-next PATCH v2 10/14] device property: Introduce fwnode_get_id()

2020-12-15 Thread Calvin Johnson
Using fwnode_get_id(), get the reg property value for DT node and get the _ADR object value for ACPI node. Signed-off-by: Calvin Johnson --- Changes in v2: None drivers/base/property.c | 26 ++ include/linux/property.h | 1 + 2 files changed, 27 insertions(+) diff