projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3456b22
)
solos: Remove parameter group from sysfs on ATM dev deregister
author
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 28 Jan 2009 03:34:34 +0000
(14:34 +1100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 28 Jan 2009 03:34:34 +0000
(14:34 +1100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/atm/solos-pci.c
patch
|
blob
|
history
diff --git
a/drivers/atm/solos-pci.c
b/drivers/atm/solos-pci.c
index 2dca5ffc806314eeb040bcbfdec4917e69445acb..b7d4af3df2a67e2466c59c994bb82410caa7a9cd 100644
(file)
--- a/
drivers/atm/solos-pci.c
+++ b/
drivers/atm/solos-pci.c
@@
-1166,6
+1166,8
@@
static void atm_remove(struct solos_card *card)
for (i = 0; i < card->nr_ports; i++) {
if (card->atmdev[i]) {
dev_info(&card->dev->dev, "Unregistering ATM device %d\n", card->atmdev[i]->number);
+
+ sysfs_remove_group(&card->atmdev[i]->class_dev.kobj, &solos_attr_group);
atm_dev_deregister(card->atmdev[i]);
}
}