coresight: platform: Refactor graph endpoint parsing
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Thu, 20 Sep 2018 19:17:37 +0000 (13:17 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:09:16 +0000 (20:09 +0200)
commit6575fdb74645c14453f3119568ec45cbc54d4afb
tree44ced0174af641c2d557d2925e5d76429eaed33b
parentfac253e52fda73b6610f39716abe04dd2d919fb8
coresight: platform: Refactor graph endpoint parsing

Refactor the of graph endpoint parsing code, to make the error
handling easier.

Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
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/of_coresight.c