]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfb6015bff4305e0a50b94bd291f353acfd0dfd0
treeef4228cd70a146b12f63e699e64e726e5b5cd54b
parent2a3ba228d61a4e610e1f83c90c20faaf0231ed38
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