Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104753
b: refs/heads/master
c: 16be63f
h: refs/heads/master
i:
  104751: 5862b9b
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 22, 2008
1 parent a30b5ea commit 637cd0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 110cf374a809817d5c080c0ac82d65d029820a66
refs/heads/master: 16be63fd1670000b96b76cb55b6f1bead21b4c4b
7 changes: 0 additions & 7 deletions trunk/net/bluetooth/hci_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,20 +398,13 @@ int hci_register_sysfs(struct hci_dev *hdev)
if (device_create_file(dev, bt_attrs[i]) < 0)
BT_ERR("Failed to create device attribute");

if (sysfs_create_link(&bt_class->subsys.kobj,
&dev->kobj, kobject_name(&dev->kobj)) < 0)
BT_ERR("Failed to create class symlink");

return 0;
}

void hci_unregister_sysfs(struct hci_dev *hdev)
{
BT_DBG("%p name %s type %d", hdev, hdev->name, hdev->type);

sysfs_remove_link(&bt_class->subsys.kobj,
kobject_name(&hdev->dev.kobj));

device_del(&hdev->dev);
}

Expand Down

0 comments on commit 637cd0c

Please sign in to comment.