diff options
| author | Stefan Wahren <stefan.wahren@i2se.com> | 2016-10-31 17:39:32 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-07 13:05:47 +0300 |
| commit | 0ece01c67fc8eb9f2e523a7e1bc1826fbb837c1e (patch) | |
| tree | 23bae1e5dc2028feced6ad15e4866c4c94275ff8 | |
| parent | 0feb1ed5c51acd5cea3d65221e8693c3c4bb4c8d (diff) | |
| download | linux-0ece01c67fc8eb9f2e523a7e1bc1826fbb837c1e.tar.xz | |
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>
| -rw-r--r-- | drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c index 90296c268a79..89fa08148f3e 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c @@ -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); |
