summaryrefslogtreecommitdiffstats
path: root/drivers/base/property.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2017-03-28 09:52:23 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-03-29 00:00:28 +0200
commit67831837e0b192fe0b8ee8b5e502d95ad2c497c0 (patch)
treef82c4e03dcb50a4c02a4bd3cefe2f411736bea05 /drivers/base/property.c
parentdevice property: Add fwnode_handle_get() (diff)
downloadlinux-67831837e0b192fe0b8ee8b5e502d95ad2c497c0.tar.xz
linux-67831837e0b192fe0b8ee8b5e502d95ad2c497c0.zip
of: Add of_fwnode_handle() to convert device nodes to fwnode_handle
of_fwnode_handle() returns a struct fwnode_handle of the struct device_node. This may be used on the fwnode property API. Use a macro instead of a function in order to support const and non-const arguments. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/property.c')
0 files changed, 0 insertions, 0 deletions