coresight: catu: Use CS_AMBA_ID macro for id table
authorSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Thu, 16 Jul 2020 17:57:31 +0000 (11:57 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2020 13:48:38 +0000 (15:48 +0200)
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>
drivers/hwtracing/coresight/coresight-catu.c

index 16ebf38a9f664a3676188008cf42f5c606228b2d..1801804a776284eed915b8c49221a6ac5721582e 100644 (file)
@@ -568,10 +568,7 @@ out:
 }
 
 static struct amba_id catu_ids[] = {
-       {
-               .id     = 0x000bb9ee,
-               .mask   = 0x000fffff,
-       },
+       CS_AMBA_ID(0x000bb9ee),
        {},
 };