drm/amdgpu: move some release handles into fail labels (v2)
authorHuang Rui <ray.huang@amd.com>
Mon, 12 Sep 2016 02:16:21 +0000 (10:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2016 19:10:25 +0000 (15:10 -0400)
commitfd5065584d5f3532d9ffb6e3832e8064f9242c7e
tree58b69322188ee6a473ad5c8378c5874b76196968
parentf166d9f297684faa153dabc2b8887f61bbe7858c
drm/amdgpu: move some release handles into fail labels (v2)

Clean up the codes to move the release handles into fail labels.

v2: squash in Christian's regression fix

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c