Re: [PATCH v3 02/10] software node: Make argument to to_software_node const

2019-08-30 Thread Heikki Krogerus
On Thu, Aug 29, 2019 at 01:10:35PM +0300, Sakari Ailus wrote: > to_software_node() does not need to modify the fwnode_handle it operates > on; therefore make it const. This allows passing a const fwnode_handle to > to_software_node(). > > Signed-off-by: Sakari Ailus OK by me. Reviewed-by: Heikk

Re: [PATCH v3 02/10] software node: Make argument to to_software_node const

2019-08-30 Thread Andy Shevchenko
On Thu, Aug 29, 2019 at 01:10:35PM +0300, Sakari Ailus wrote: > to_software_node() does not need to modify the fwnode_handle it operates > on; therefore make it const. This allows passing a const fwnode_handle to > to_software_node(). > Reviewed-by: Andy Shevchenko > Signed-off-by: Sakari Ailus

[PATCH v3 02/10] software node: Make argument to to_software_node const

2019-08-29 Thread Sakari Ailus
to_software_node() does not need to modify the fwnode_handle it operates on; therefore make it const. This allows passing a const fwnode_handle to to_software_node(). Signed-off-by: Sakari Ailus --- drivers/base/swnode.c| 4 ++-- include/linux/property.h | 3 ++- 2 files changed, 4 insertion