]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: etm4x: Cleanup TRCVICTLR register accesses
authorJames Clark <james.clark@arm.com>
Fri, 4 Mar 2022 17:19:06 +0000 (17:19 +0000)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 13 Apr 2022 17:05:10 +0000 (11:05 -0600)
commit26709e44675e9398659440f36865e3df5f530add
treeabdf055835020ec61250655ff1739c9490ee3b24
parent607eecc2a7a5bd1d41e5aa8da78f3c6f85ee2b1f
coresight: etm4x: Cleanup TRCVICTLR 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-10-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-sysfs.c
drivers/hwtracing/coresight/coresight-etm4x.h