device property: Add fwnode_handle_get()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 28 Mar 2017 07:52:22 +0000 (10:52 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 Mar 2017 22:00:28 +0000 (00:00 +0200)
commite7887c284969a23a98fe1aff2f631c5ccdcd1757
treeb0e8e433d7d97eb4c05b5dbaad451efc58544195
parent07bb80d40b0e6a43aafb422296d33baed255569a
device property: Add fwnode_handle_get()

fwnode_handle_get() is used to obtain a reference to a fwnode_handle
container. In this case this is OF specific struct device_node.

This complements fwnode_handle_put() which is already implemented.

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>
drivers/base/property.c
include/linux/property.h