drm/msm: Use labels for unwinding in the error path
authorJeykumar Sankaran <jsanka@codeaurora.org>
Wed, 27 Jun 2018 18:35:28 +0000 (14:35 -0400)
committerSean Paul <seanpaul@chromium.org>
Thu, 26 Jul 2018 14:40:16 +0000 (10:40 -0400)
commit77050c3febb1808ed6a0f7e9f0994278f06967ca
tree332b21c10397194d12cb88e8fec9b5f86999acc4
parentaaded2e3a1f6b776a5afd7c1168610d51f9a6a15
drm/msm: Use labels for unwinding in the error path

This simplifies cleanup, to make sure nothing drops out in case of
error.

Changes in v3:
- None

Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
[seanpaul split out of dpu megapatch and renamed labels]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.c