drm/amdgpu: simplify the access to eeprom_control struct
authorTao Zhou <tao.zhou1@amd.com>
Wed, 18 Sep 2019 07:26:23 +0000 (15:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:02 +0000 (09:11 -0500)
commit0771b0bf0790295b141cc30644a1b0b3e22a331e
treedd0ad0b4f8b67f881465436b5af929e6d8951442
parent41190cd73341060f2e7494a77131bb1f56e68fa1
drm/amdgpu: simplify the access to eeprom_control struct

simplify the code of accessing to eeprom_control struct

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c