drm/amd/display: Fix hdcp_log.h codestyle
authorMarcelo Mendes Spessoto Junior <marcelomspessoto@gmail.com>
Fri, 29 Dec 2023 17:41:55 +0000 (14:41 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Jan 2024 21:10:44 +0000 (16:10 -0500)
commit0783f17e760d3cfa6b79aea94712dc7082d4ae2c
tree6c67d629c4594ffaaf81a3f4a39655a695b4ac0b
parent31906f4cf6b1ece08f7a16c6c53ef899f1fda009
drm/amd/display: Fix hdcp_log.h codestyle

Place HDCP_EVENT_TRACE(hdcp, event) macro content inside do while loop
to avoid if-else issues in hdcp_log.h file

v2: fix up build (Alex)

Signed-off-by: Marcelo Mendes Spessoto Junior <marcelomspessoto@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h