OSDN Git Service

coresight: etm4x: Cleanup TRCRSCTLRn register accesses
authorJames Clark <james.clark@arm.com>
Fri, 4 Mar 2022 17:19:12 +0000 (17:19 +0000)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 13 Apr 2022 17:05:56 +0000 (11:05 -0600)
commitc86dd9869128156696b4482b2a073790d3db2cfb
treeccfc34cc457025ddc573964a8a1cea545335f312
parent67493ca4cbe7e8335b94dfe71b12eae79a07b8b8
coresight: etm4x: Cleanup TRCRSCTLRn 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-16-james.clark@arm.com
/* Removed extra new lines */
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
drivers/hwtracing/coresight/coresight-etm4x.h