mirror of
https://github.com/torvalds/linux.git
synced 2026-02-04 15:28:49 +08:00
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>