|
@@ -539,17 +539,6 @@ static int tilcdc_debugfs_init(struct drm_minor *minor)
|
|
|
|
|
|
return ret;
|
|
|
}
|
|
|
-
|
|
|
-static void tilcdc_debugfs_cleanup(struct drm_minor *minor)
|
|
|
-{
|
|
|
- struct tilcdc_module *mod;
|
|
|
- drm_debugfs_remove_files(tilcdc_debugfs_list,
|
|
|
- ARRAY_SIZE(tilcdc_debugfs_list), minor);
|
|
|
-
|
|
|
- list_for_each_entry(mod, &module_list, list)
|
|
|
- if (mod->funcs->debugfs_cleanup)
|
|
|
- mod->funcs->debugfs_cleanup(mod, minor);
|
|
|
-}
|
|
|
#endif
|
|
|
|
|
|
static const struct file_operations fops = {
|
|
@@ -589,7 +578,6 @@ static struct drm_driver tilcdc_driver = {
|
|
|
.gem_prime_mmap = drm_gem_cma_prime_mmap,
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
|
.debugfs_init = tilcdc_debugfs_init,
|
|
|
- .debugfs_cleanup = tilcdc_debugfs_cleanup,
|
|
|
#endif
|
|
|
.fops = &fops,
|
|
|
.name = "tilcdc",
|