coresight: remove csdev's link from topology
authorMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 2 Feb 2016 21:13:59 +0000 (14:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 06:11:10 +0000 (22:11 -0800)
commitad725aee070caf8fa93d84d6fb78321f9642db18
tree72a9ebd85ee6deb482f95ab06abf3bb9ee354d53
parentf2dfab3568fc32afeac8b698481e80e7ab2dc658
coresight: remove csdev's link from topology

In function 'coresight_unregister()', all references to the csdev that
is being taken away need to be removed from the topology.  Otherwise
building the next coresight path from source to sink may use memory
that has been released.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight.c