summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/drm.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-05-04 15:08:49 +0200
committerThierry Reding <treding@nvidia.com>2018-05-17 14:03:30 +0200
commit230630bd3834af0ea6ec75354ec21819de148ee1 (patch)
tree81958a8af4835a89511b0b2a6910855f8e924045 /drivers/gpu/drm/tegra/drm.h
parentdd99b4b48833a55817d78a48034b606664b1fff8 (diff)
downloadlinux-stable-230630bd3834af0ea6ec75354ec21819de148ee1.tar.gz
linux-stable-230630bd3834af0ea6ec75354ec21819de148ee1.tar.bz2
linux-stable-230630bd3834af0ea6ec75354ec21819de148ee1.zip
drm/tegra: gr3d: Properly clean up resources
Failure to register the Tegra DRM client would leak the resources. Move cleanup code to error unwinding gotos to fix that and share the cleanup code with the other error paths. Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.h')
0 files changed, 0 insertions, 0 deletions