mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-11 03:48:00 +00:00
staging: vchiq_arm: remove debugfs entries on module unload
This removes the debugfs entries on module unload and fix one of the many kernel oops after loading the module again. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0feb1ed5c5
commit
0ece01c67f
@ -2975,6 +2975,7 @@ failed_debugfs_init:
|
||||
|
||||
static int vchiq_remove(struct platform_device *pdev)
|
||||
{
|
||||
vchiq_debugfs_deinit();
|
||||
device_destroy(vchiq_class, vchiq_devid);
|
||||
class_destroy(vchiq_class);
|
||||
cdev_del(&vchiq_cdev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user