coresight: platform: Use fwnode handle for device search
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 19 Jun 2019 19:53:02 +0000 (13:53 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2019 05:56:13 +0000 (07:56 +0200)
commit20961aea982e839fa64cd08a616847aea14a185f
tree1ce19fff7c6558b1a2d4cccf3e8657df758bedd0
parent688da45f20fec12cf94a5a0f3f9babe8125d0732
coresight: platform: Use fwnode handle for device search

We match of_node while searching for a device. Make this
more generic in preparation for the ACPI support by using
fwnode_handle.

Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-platform.c