drm/msm: Remove msm_debugfs_cleanup()
Move the contents of msm_debugfs_cleanup() to msm_drm_uninit() to free up the drm_driver->debugfs_cleanup callback. Also remove the mdp_kms_funcs->debugfs_cleanup callback which has no users. Cc: robdclark@gmail.com Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Acked-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170307204924.1002-2-noralf@tronnes.org
This commit is contained in:

committed by
Daniel Vetter

parent
0621ce1db3
commit
85eac4700e
@@ -164,20 +164,5 @@ int msm_debugfs_init(struct drm_minor *minor)
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
void msm_debugfs_cleanup(struct drm_minor *minor)
|
||||
{
|
||||
struct drm_device *dev = minor->dev;
|
||||
struct msm_drm_private *priv = dev->dev_private;
|
||||
|
||||
if (!priv)
|
||||
return;
|
||||
|
||||
if (priv->kms->funcs->debugfs_cleanup)
|
||||
priv->kms->funcs->debugfs_cleanup(priv->kms, minor);
|
||||
|
||||
msm_rd_debugfs_cleanup(minor);
|
||||
msm_perf_debugfs_cleanup(minor);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user