[PATCH 7/7] drm/amd/dal: Remove unneccessary macro

Harry Wentland harry.wentland at amd.com
Wed Nov 30 19:20:13 UTC 2016


Change-Id: I756cb599927d448f7237b3a961627cca1f815a1a
Signed-off-by: Harry Wentland <harry.wentland at amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng at amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
 drivers/gpu/drm/amd/dal/dc/dce/dce_audio.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/dce/dce_audio.h b/drivers/gpu/drm/amd/dal/dc/dce/dce_audio.h
index 6c9fe17569a5..bf97cd8c8221 100644
--- a/drivers/gpu/drm/amd/dal/dc/dce/dce_audio.h
+++ b/drivers/gpu/drm/amd/dal/dc/dce/dce_audio.h
@@ -27,7 +27,7 @@
 
 #include "audio.h"
 
-#define AUD_COMMON_REG_LIST_BASE(id)\
+#define AUD_COMMON_REG_LIST(id)\
 	SRI(AZALIA_F0_CODEC_ENDPOINT_INDEX, AZF0ENDPOINT, id),\
 	SRI(AZALIA_F0_CODEC_ENDPOINT_DATA, AZF0ENDPOINT, id),\
 	SR(AZALIA_F0_CODEC_FUNCTION_PARAMETER_STREAM_FORMATS),\
@@ -39,9 +39,6 @@
 	SR(DCCG_AUDIO_DTO1_MODULE),\
 	SR(DCCG_AUDIO_DTO1_PHASE)
 
-#define AUD_COMMON_REG_LIST(id)\
-	AUD_COMMON_REG_LIST_BASE(id)
-
 
  /* set field name */
 #define SF(reg_name, field_name, post_fix)\
-- 
2.9.3



More information about the amd-gfx mailing list