drm/amd/display: change generic_reg_wait to void.
authorYongqiang Sun <yongqiang.sun@amd.com>
Tue, 26 Feb 2019 15:52:22 +0000 (10:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 04:39:47 +0000 (23:39 -0500)
commit335d5d7bbd3c4fe71ae765ad106d21b39ba85fd1
tree754ef6c93b3fb665ab886cf40097b6c046791b45
parenteec3d5efd16d13984a88396b685ae17462fb6d87
drm/amd/display: change generic_reg_wait to void.

we were only checking the return value in one place, thus changing
generic_reg_wait from int to void and reading the register instead of
getting it from generic_reg_wait, when we need the return value.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_helper.c
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c
drivers/gpu/drm/amd/display/dc/dm_services.h