diff mbox series

[02/17] coresight: catu: Use CS_AMBA_ID macro for id table

Message ID 20200716175746.3338735-3-mathieu.poirier@linaro.org (mailing list archive)
State Mainlined
Commit 9cfb556357d56895ae50f0f3c691730d640530d2
Headers show
Series coresight: next v5.8-rc5 | expand

Commit Message

Mathieu Poirier July 16, 2020, 5:57 p.m. UTC
From: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>

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>
---
 drivers/hwtracing/coresight/coresight-catu.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff mbox series

Patch

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 @@  static int catu_probe(struct amba_device *adev, const struct amba_id *id)
 }
 
 static struct amba_id catu_ids[] = {
-	{
-		.id	= 0x000bb9ee,
-		.mask	= 0x000fffff,
-	},
+	CS_AMBA_ID(0x000bb9ee),
 	{},
 };