drm/amd/powerplay: fix memory leak in powerplay
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 25 Sep 2017 09:34:00 +0000 (17:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2017 20:03:32 +0000 (16:03 -0400)
commitd04f257635a2f4fd74fcd7543a9337daeb40dea1
treeeba711e0829a6929724ceeece6ad931a909a2942
parent46967c221fa9d06f4ddf168fbcf16fd9216dd574
drm/amd/powerplay: fix memory leak in powerplay

cgs device not free.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h