Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54518
b: refs/heads/master
c: d12db0b
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed May 8, 2007
1 parent 5e44e16 commit 9da886c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a989705c4cf6e6c1a339c95f9daf658b4ba88ca8
refs/heads/master: d12db0b08f6c14dfd1438f6f6ad49dcd663c9ae5
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/hci_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ 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.kset.kobj,
if (sysfs_create_link(&bt_class->subsys.kobj,
&dev->kobj, kobject_name(&dev->kobj)) < 0)
BT_ERR("Failed to create class symlink");

Expand All @@ -333,7 +333,7 @@ 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.kset.kobj,
sysfs_remove_link(&bt_class->subsys.kobj,
kobject_name(&hdev->dev.kobj));

device_del(&hdev->dev);
Expand Down

0 comments on commit 9da886c

Please sign in to comment.