coresight: etm4x: Cleanup TRCSTALLCTLR register accesses
authorJames Clark <james.clark@arm.com>
Fri, 4 Mar 2022 17:19:05 +0000 (17:19 +0000)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 13 Apr 2022 17:05:03 +0000 (11:05 -0600)
commitb5bc16ab04fe8b8b2f4276e926672dc4b23bcfe4
tree1487cdab054bb55a3ce3f309b9a7c7b56b4221ec
parenteeae6dddfd34e6f0522b7bdb86d16fdd2b0fa80b
coresight: etm4x: Cleanup TRCSTALLCTLR register accesses

This is a no-op change for style and consistency and has no effect on
the binary output by the compiler. In sysreg.h fields are defined as
the register name followed by the field name and then _MASK. This
allows for grepping for fields by name rather than using magic numbers.

Signed-off-by: James Clark <james.clark@arm.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20220304171913.2292458-9-james.clark@arm.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
drivers/hwtracing/coresight/coresight-etm4x.h