Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44559
b: refs/heads/master
c: 44c53c4
h: refs/heads/master
i:
  44557: 7532a49
  44555: d5822cf
  44551: f65230b
  44543: 5b94516
v: v3
  • Loading branch information
Akinobu Mita authored and Greg Kroah-Hartman committed Dec 13, 2006
1 parent 7481b36 commit aba2bd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f71740ab9714bf5ae9ee04c724ff0d5c67ca3dc
refs/heads/master: 44c53c4ff01a3551e9d73604eba42e372e9d0c1a
2 changes: 2 additions & 0 deletions trunk/drivers/base/class.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ int class_register(struct class * cls)
void class_unregister(struct class * cls)
{
pr_debug("device class '%s': unregistering\n", cls->name);
if (cls->virtual_dir)
kobject_unregister(cls->virtual_dir);
remove_class_attrs(cls);
subsystem_unregister(&cls->subsys);
}
Expand Down

0 comments on commit aba2bd2

Please sign in to comment.