drm/amd/display: Remove redundant i2c structs
authorDavid Francis <David.Francis@amd.com>
Fri, 3 Aug 2018 18:25:19 +0000 (14:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 20:20:56 +0000 (15:20 -0500)
commitd377ae4e3754ee3f81f63a0d9e3eadba7830d3e3
treed95e31dfb0f5e9a89ff48b3202fd38674a2075a4
parent46659a83e4662ed92000ec13445b8c0ca96fd2cc
drm/amd/display: Remove redundant i2c structs

[Why]
The i2c code contains two structs that contain the same
information as i2c_payload

[How]
Replace references to those structs with references to
i2c_payload

dce_i2c_transaction_request->status was written to but never read,
so all references to it are removed

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_i2c.h
drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c
drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.h
drivers/gpu/drm/amd/display/dc/dce/dce_i2c_sw.c