]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: etm3x: Cleanup ETMTECR1 register accesses
authorJames Clark <james.clark@arm.com>
Fri, 4 Mar 2022 17:19:07 +0000 (17:19 +0000)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 13 Apr 2022 17:05:17 +0000 (11:05 -0600)
commitddf22de6cb5b7cf87480cfa666c7eebad4bb9eb3
tree284c339c1a4b72c4559706773134536b32676c0b
parent26709e44675e9398659440f36865e3df5f530add
coresight: etm3x: Cleanup ETMTECR1 register accesses

This is a no-op change for style and consistency and has no effect on
the binary output by the compiler. These fields already have macros
to define them so use them instead of 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-11-james.clark@arm.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-etm3x-core.c
drivers/hwtracing/coresight/coresight-etm3x-sysfs.c