diff options
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r-- | net/bluetooth/hci_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 3f9f1565bf06..54e8e5ea2154 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c | |||
@@ -817,8 +817,8 @@ void hci_free_dev(struct hci_dev *hdev) | |||
817 | { | 817 | { |
818 | skb_queue_purge(&hdev->driver_init); | 818 | skb_queue_purge(&hdev->driver_init); |
819 | 819 | ||
820 | /* will free via class release */ | 820 | /* will free via device release */ |
821 | class_device_put(&hdev->class_dev); | 821 | put_device(&hdev->dev); |
822 | } | 822 | } |
823 | EXPORT_SYMBOL(hci_free_dev); | 823 | EXPORT_SYMBOL(hci_free_dev); |
824 | 824 | ||