]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: etm4x: Cleanup TRCBBCTLR register accesses
authorJames Clark <james.clark@arm.com>
Fri, 4 Mar 2022 17:19:11 +0000 (17:19 +0000)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 13 Apr 2022 17:05:50 +0000 (11:05 -0600)
commit05dcd88202a05a2bcd857b74fd78de9f8a6bd3bc
treeecf8dd9e0be65c5f131883f140ebb9a9b1b9bb5e
parentf0930c97bfe2030d1dceb7088b4319fde1ea4bba
coresight: etm4x: Cleanup TRCBBCTLR 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-15-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