coresight: replicator: Cleanup device tracking
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 19 Jun 2019 17:29:11 +0000 (11:29 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jun 2019 18:29:14 +0000 (20:29 +0200)
commit36f590825e67176db0f9214061b26f9e8ef77e20
tree990157753a1208e30405846d60da6c658c53940a
parent207f31125f9d3f674f13449278c40f69fb41fabe
coresight: replicator: Cleanup device tracking

In preparation to use a consistent device naming scheme,
clean up the device link tracking in replicator driver.
Use the "coresight" device instead of the "real" parent device
for all internal purposes. All other requests (e.g, power management,
DMA operations) must use the "real" device which is the parent device.

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-replicator.c