Bluetooth: Remove __hci_dev_put/hold
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 7 Jan 2012 14:47:24 +0000 (15:47 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:24 +0000 (17:01 +0200)
commitdc946bd86f725c42c3ab1caf9966d29f5b364fea
tree65ad1d42be0718f9eb795952ad78429b74865c7d
parent4c724c7135ca2b407bd318b4267456a7b5723825
Bluetooth: Remove __hci_dev_put/hold

Since we remove the owner field of hci_dev hci_dev_put and __hci_dev_put
do the same so we can merge them into one function. Same for
hci_dev_hold and __hci_dev_hold.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/btusb.c
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c