of_graph: add of_graph_get_port_parent()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 20 Apr 2017 01:32:17 +0000 (01:32 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 May 2017 09:21:12 +0000 (10:21 +0100)
commit0ef472a973ebbfc20f2f12769e77a8cfd3612778
treeef4228cd70a146b12f63e699e64e726e5b5cd54b
parent4c9c3d595f1bad021cc126d20879df4016801736
of_graph: add of_graph_get_port_parent()

Linux kernel already has of_graph_get_remote_port_parent(),
but, sometimes we want to get own port parent.
This patch adds of_graph_get_port_parent()

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/of/base.c
include/linux/of_graph.h