coresight: etb10: Refactor etb_drvdata::mode handling
authorMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 20 Sep 2018 19:17:58 +0000 (13:17 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:09:18 +0000 (20:09 +0200)
commitd43b8ec599f90c1f07b1bdd29b0c4b6306726ef2
treee694b0c27d356d7c0428471072ff9285b44ff23a
parent22f429f19c4135d51e9dcaf360c0920e32aac7f9
coresight: etb10: Refactor etb_drvdata::mode handling

This patch moves the etb_drvdata::mode from a locat_t to a simple u32,
as it is for the ETF and ETR drivers.  This streamlines the code and adds
commonality with the other drivers when dealing with similar operations.

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