mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-16 09:51:40 +00:00
![Dmitry Torokhov](/assets/img/avatar_default.png)
It should be done before calling class_device_unregister() because it will destroy the device and free memory if there are no other references to the device. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Linus Torvalds <torvalds@osdl.org>