]> git.baikalelectronics.ru Git - kernel.git/commit
drm: cleanup debugfs in drm_unplug_minor()
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 20 Oct 2013 16:55:43 +0000 (18:55 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 04:53:24 +0000 (14:53 +1000)
commit3bc0de9b128e7df4ada8bb6fbb0b8156abc29716
tree490895b8b12c900fbefe06b2aa3da8785b4ef26a
parent587bd20b0236e64a375008c6f1b6aef4326c719c
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>
drivers/gpu/drm/drm_stub.c