coresight: etm4x: Cleanup TRCIDR0 register accesses
authorJames Clark <james.clark@arm.com>
Fri, 4 Mar 2022 17:18:58 +0000 (17:18 +0000)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 13 Apr 2022 17:04:08 +0000 (11:04 -0600)
commite601cc9a3a9b94b48de7f120b583d94c2d9fe3b5
tree6a62e9bc90aa7e89f875d6c88dfb30c7446a22a0
parentce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e
coresight: etm4x: Cleanup TRCIDR0 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-2-james.clark@arm.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-etm4x-core.c
drivers/hwtracing/coresight/coresight-etm4x.h