Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ece01c6 authored by Stefan Wahren's avatar Stefan Wahren Committed by Greg Kroah-Hartman
Browse files

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: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0feb1ed5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2975,6 +2975,7 @@ static int vchiq_probe(struct platform_device *pdev)

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);