diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2019-10-03 15:32:09 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-10-11 11:26:55 +0200 |
commit | 56c9aa07942434490890ac35bba99026e66cb949 (patch) | |
tree | e4bcb8b5a1519354b66719e4bfe5e491763907c0 /drivers/base/property.c | |
parent | software node: Get reference to parent swnode in get_parent op (diff) | |
download | linux-dev-56c9aa07942434490890ac35bba99026e66cb949.tar.xz linux-dev-56c9aa07942434490890ac35bba99026e66cb949.zip |
software node: Make argument to to_software_node const
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 <sakari.ailus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions