* [PATCH] Remove debugfs entries upon unloading
@ 2008-08-19 9:44 Russ Dill
0 siblings, 0 replies; only message in thread
From: Russ Dill @ 2008-08-19 9:44 UTC (permalink / raw)
To: linux-kernel; +Cc: Russ Dill
The exit function neglects to remove debugfs entries, leading to a BUG
on reload.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
---
drivers/misc/acer-wmi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/misc/acer-wmi.c b/drivers/misc/acer-wmi.c
index b2d9878..7a68351 100644
--- a/drivers/misc/acer-wmi.c
+++ b/drivers/misc/acer-wmi.c
@@ -1267,6 +1267,7 @@ error_platform_register:
static void __exit acer_wmi_exit(void)
{
remove_sysfs(acer_platform_device);
+ remove_debugfs();
platform_device_del(acer_platform_device);
platform_driver_unregister(&acer_platform_driver);
--
1.5.4.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-19 9:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-19 9:44 [PATCH] Remove debugfs entries upon unloading Russ Dill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®