commit | 865fb47f7f9aa1a1be2ce6a1d37af98f8d4a0d04 | [log] [tgz] |
---|---|---|
author | David Herrmann <dh.herrmann@gmail.com> | Sun Oct 20 18:55:43 2013 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Wed Nov 06 14:53:24 2013 +1000 |
tree | 490895b8b12c900fbefe06b2aa3da8785b4ef26a | |
parent | a99ee459fd0ae38c0ccc7f93af718ef476657d1b [diff] |
drm: cleanup debugfs in drm_unplug_minor() There is no reason to delay debugfs-cleanup to drm_put_minor(). We should forbid any access to debugfs files once the device is dead. Chances they oops once a card was unplugged are very high, anyway. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>