diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-01-26 23:56:18 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-01-30 09:48:48 +0100 |
commit | 55d6616585363ff2aa9430bfe1ff1345bdc0599a (patch) | |
tree | 01c77691530ac7ee792d7a19d76f09c069f8227c /drivers/gpu/drm/vc4/vc4_debugfs.c | |
parent | 8c96c678011eeb1676da18f203e90dea7e0d69d2 (diff) | |
download | linux-55d6616585363ff2aa9430bfe1ff1345bdc0599a.tar.gz linux-55d6616585363ff2aa9430bfe1ff1345bdc0599a.tar.bz2 linux-55d6616585363ff2aa9430bfe1ff1345bdc0599a.zip |
drm/vc4: Remove vc4_debugfs_cleanup()
drm_debugfs_cleanup() now removes all minor->debugfs_list entries
automatically, so the drm_driver.debugfs_cleanup callback is not
needed.
Cc: eric@anholt.net
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170126225621.12314-17-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_debugfs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_debugfs.c b/drivers/gpu/drm/vc4/vc4_debugfs.c index caf817bac885..c4d5e6a8d6f2 100644 --- a/drivers/gpu/drm/vc4/vc4_debugfs.c +++ b/drivers/gpu/drm/vc4/vc4_debugfs.c @@ -36,9 +36,3 @@ vc4_debugfs_init(struct drm_minor *minor) return drm_debugfs_create_files(vc4_debugfs_list, VC4_DEBUGFS_ENTRIES, minor->debugfs_root, minor); } - -void -vc4_debugfs_cleanup(struct drm_minor *minor) -{ - drm_debugfs_remove_files(vc4_debugfs_list, VC4_DEBUGFS_ENTRIES, minor); -} |