device property: Add fwnode_graph_get_port_parent
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Tue, 6 Jun 2017 09:37:41 +0000 (12:37 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 22 Jun 2017 00:55:34 +0000 (02:55 +0200)
commit6a71d8d77795e0f7d887baa95bfc0d1d2bc74899
tree729784ba33071398831c28855b86cc10b5e87b0d
parent125ee6b3b0fa920c730b0991e6f083a9f5b1e4c3
device property: Add fwnode_graph_get_port_parent

Provide a helper to obtain the parent device fwnode without first
parsing the remote-endpoint as per fwnode_graph_get_remote_port_parent.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
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