aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorDavid Francis <David.Francis@amd.com>2018-08-09 13:20:04 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-08-27 15:19:56 -0500
commit9bbdb0f345f50e2a9afd7d7c475e3b788eec402b (patch)
tree451b5b4cc8ad3bbd986c9b97381b67156975fe97 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parent284dec4317c8e76f45d3ce922f673c80331812f1 (diff)
drm/amd/display: Eliminate i2c hw function pointers
[Why] The function pointers of the dce_i2c_hw struct were never accessed from outside dce_i2c_hw.c and had only one version. As function pointers take up space and make debugging difficult, and they are not needed in this case, they should be removed. [How] Remove the dce_i2c_hw_funcs struct and make static all functions that were previously a part of it. Reorder the functions in dce_i2c_hw.c. Signed-off-by: David Francis <David.Francis@amd.com> Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions