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
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
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
3 matches
Mail list logo