coresight: Add ports and port child node check in get_ports function
In of_coresight_get_ports function, avoid unnecessary processing on
device node with no ports and port child nodes.
Change-Id: Ie9b212e512d93fd73b47e21db20ccc992c5779d8
Signed-off-by:
Yadu MG <ymg@codeaurora.org>
Loading
Please register or sign in to comment