Skip to content
Commit e7f7ab45 authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie
Browse files

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: default avatarDave Airlie <airlied@redhat.com>
parent 4a6908a3
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