diff options
author | Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> | 2020-07-16 11:57:31 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-21 15:48:38 +0200 |
commit | 9cfb556357d56895ae50f0f3c691730d640530d2 (patch) | |
tree | f3445a310d8eac7eebd3f54e012a26db3b32e531 /drivers/hwtracing | |
parent | 9c1a58b77e8d34b36f7d98bce6cc7d11478c001e (diff) | |
download | linux-9cfb556357d56895ae50f0f3c691730d640530d2.tar.bz2 |
coresight: catu: Use CS_AMBA_ID macro for id table
Use CS_AMBA_ID macro for coresight catu AMBA id table
instead of open coding.
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200716175746.3338735-3-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing')
-rw-r--r-- | drivers/hwtracing/coresight/coresight-catu.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hwtracing/coresight/coresight-catu.c b/drivers/hwtracing/coresight/coresight-catu.c index 16ebf38a9f66..1801804a7762 100644 --- a/drivers/hwtracing/coresight/coresight-catu.c +++ b/drivers/hwtracing/coresight/coresight-catu.c @@ -568,10 +568,7 @@ out: } static struct amba_id catu_ids[] = { - { - .id = 0x000bb9ee, - .mask = 0x000fffff, - }, + CS_AMBA_ID(0x000bb9ee), {}, }; |