drm/amdgpu: use RAS error address convert api in mca notifier
authorTao Zhou <tao.zhou1@amd.com>
Wed, 21 Sep 2022 08:46:19 +0000 (16:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:42:31 +0000 (09:42 -0400)
commitcd4c99f103af5a85fcae5d31a9e85361679ab979
tree0c43bf17a19c9b356f9f700f71757e73acc7f45f
parent1014bd1cb32552b732fd0f6ff4e68f32188d59e7
drm/amdgpu: use RAS error address convert api in mca notifier

Use the convert interface to simplify code.

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