aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-01-27 22:34:34 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-01-27 22:34:34 -0500
commitc0fe30265a1fe3a69e0ce0d08b49de1dda9c1190 (patch)
treea49d9889d1d135e7dc4badb9997358938b38a214 /drivers/atm
parent3456b22111be920e15e6999b15d2f402a48e775d (diff)
solos: Remove parameter group from sysfs on ATM dev deregister
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/solos-pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c
index 2dca5ffc8063..b7d4af3df2a6 100644
--- a/drivers/atm/solos-pci.c
+++ b/drivers/atm/solos-pci.c
@@ -1166,6 +1166,8 @@ static void atm_remove(struct solos_card *card)
1166 for (i = 0; i < card->nr_ports; i++) { 1166 for (i = 0; i < card->nr_ports; i++) {
1167 if (card->atmdev[i]) { 1167 if (card->atmdev[i]) {
1168 dev_info(&card->dev->dev, "Unregistering ATM device %d\n", card->atmdev[i]->number); 1168 dev_info(&card->dev->dev, "Unregistering ATM device %d\n", card->atmdev[i]->number);
1169
1170 sysfs_remove_group(&card->atmdev[i]->class_dev.kobj, &solos_attr_group);
1169 atm_dev_deregister(card->atmdev[i]); 1171 atm_dev_deregister(card->atmdev[i]);
1170 } 1172 }
1171 } 1173 }