diff options
author | Thierry Reding <treding@nvidia.com> | 2018-05-04 15:08:49 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-05-17 14:03:30 +0200 |
commit | 230630bd3834af0ea6ec75354ec21819de148ee1 (patch) | |
tree | 81958a8af4835a89511b0b2a6910855f8e924045 /drivers/gpu/drm/tegra/drm.h | |
parent | dd99b4b48833a55817d78a48034b606664b1fff8 (diff) | |
download | linux-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