diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-05-24 16:52:08 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-06-20 10:20:40 +0200 |
commit | 00a9121b8698ddf7fcb18e107405afacc35f748a (patch) | |
tree | 394bb8ea67c22e994226881c14bdb79eeeb72f5e /drivers/gpu/drm/tegra/drm.c | |
parent | fc5e9d63a8db40e9e3a3b180be33d44af8a3cee8 (diff) | |
download | op-kernel-dev-00a9121b8698ddf7fcb18e107405afacc35f748a.zip op-kernel-dev-00a9121b8698ddf7fcb18e107405afacc35f748a.tar.gz |
drm/tegra: Drop drm_vblank_cleanup
Again, doesn't seem to serve a purpose.
Cc: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-34-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.c')
-rw-r--r-- | drivers/gpu/drm/tegra/drm.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c index 51c48a8..0d88392 100644 --- a/drivers/gpu/drm/tegra/drm.c +++ b/drivers/gpu/drm/tegra/drm.c @@ -213,12 +213,10 @@ static int tegra_drm_load(struct drm_device *drm, unsigned long flags) err = tegra_drm_fb_init(drm); if (err < 0) - goto vblank; + goto device; return 0; -vblank: - drm_vblank_cleanup(drm); device: host1x_device_exit(device); fbdev: @@ -247,7 +245,6 @@ static void tegra_drm_unload(struct drm_device *drm) drm_kms_helper_poll_fini(drm); tegra_drm_fb_exit(drm); drm_mode_config_cleanup(drm); - drm_vblank_cleanup(drm); err = host1x_device_exit(device); if (err < 0) |