drm/nouveau: Remove nouveau_drm_debugfs_cleanup()
authorNoralf Trønnes <noralf@tronnes.org>
Thu, 26 Jan 2017 22:56:12 +0000 (23:56 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 1 Mar 2017 15:09:52 +0000 (16:09 +0100)
commit1a54082a950c969cb3234167f788af99e2062f29
tree4a783a3391f5660d1de10571e7e034ec24754f70
parentb516a6c9549a99907940bd070a8244f716c23733
drm/nouveau: Remove nouveau_drm_debugfs_cleanup()

drm_debugfs_cleanup() now removes all minor->debugfs_list entries
automatically, so the drm_driver.debugfs_cleanup callback is not
needed. Additionally it uses debugfs_remove_recursive() to clean
up the debugfs files, so no need for adding fake drm_info_node
entries.

Cc: bskeggs@redhat.com
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170126225621.12314-11-noralf@tronnes.org
drivers/gpu/drm/nouveau/nouveau_debugfs.c
drivers/gpu/drm/nouveau/nouveau_debugfs.h
drivers/gpu/drm/nouveau/nouveau_drm.c