Skip to content
Commit 865fb47f authored by David Rheinsberg's avatar David Rheinsberg Committed by Dave Airlie
Browse files

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: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent a99ee459
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment