mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
drm: cleanup exit path for module unload
The current sub-module unload exit path is a mess, it tries to abuse the idr. Just keep a list of devices per driver struct and free them in-order on rmmod. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4a6908a3a0
commit
e7f7ab45eb
3 changed files with 10 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue