Commit c0fe3026 authored by David Woodhouse's avatar David Woodhouse

solos: Remove parameter group from sysfs on ATM dev deregister

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 3456b221
......@@ -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]);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment