summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_debugfs.c
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-01-26 23:56:13 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-01-27 15:25:53 +0100
commitc259e81bcd0e7b7e6ecdde4d5d4ce26aed409575 (patch)
treec1fbacef84ebfba260b262cccf70d487cd78046c /drivers/gpu/drm/omapdrm/omap_debugfs.c
parente0dfccf48339b9a9be0fa8e906cfcc19dac3c82b (diff)
downloadlinux-stable-c259e81bcd0e7b7e6ecdde4d5d4ce26aed409575.tar.gz
linux-stable-c259e81bcd0e7b7e6ecdde4d5d4ce26aed409575.tar.bz2
linux-stable-c259e81bcd0e7b7e6ecdde4d5d4ce26aed409575.zip
drm/omap: Remove omap_debugfs_cleanup()
drm_debugfs_cleanup() now removes all minor->debugfs_list entries automatically, so the drm_driver.debugfs_cleanup callback is not needed. Cc: tomi.valkeinen@ti.com Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170126225621.12314-12-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_debugfs.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_debugfs.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_debugfs.c b/drivers/gpu/drm/omapdrm/omap_debugfs.c
index bf65862daf62..19b716745623 100644
--- a/drivers/gpu/drm/omapdrm/omap_debugfs.c
+++ b/drivers/gpu/drm/omapdrm/omap_debugfs.c
@@ -123,13 +123,4 @@ int omap_debugfs_init(struct drm_minor *minor)
return ret;
}
-void omap_debugfs_cleanup(struct drm_minor *minor)
-{
- drm_debugfs_remove_files(omap_debugfs_list,
- ARRAY_SIZE(omap_debugfs_list), minor);
- if (dmm_is_available())
- drm_debugfs_remove_files(omap_dmm_debugfs_list,
- ARRAY_SIZE(omap_dmm_debugfs_list), minor);
-}
-
#endif