linux/include/net/bluetooth
Johan Hedberg 51bb8457dd Bluetooth: Improve *_get() functions to return the object type
It's natural to have *_get() functions that increment the reference
count of an object to return the object type itself. This way it's
simple to make a copy of the object pointer and increase the reference
count in a single step. This patch updates two such get() functions,
namely hci_conn_get() and l2cap_conn_get(), and updates the users to
take advantage of the new API.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2014-09-08 19:07:52 +02:00
..
bluetooth.h Bluetooth: Shrink size of struct l2cap_ctrl fields 2014-07-03 17:42:41 +02:00
hci.h Bluetooth: Rename HCI_PAIRABLE to HCI_BONDABLE 2014-07-30 19:28:41 +02:00
hci_core.h Bluetooth: Improve *_get() functions to return the object type 2014-09-08 19:07:52 +02:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
hci_sock.h Bluetooth: Move HCI socket definitions into its own header file 2014-07-11 13:53:04 +03:00
l2cap.h Bluetooth: Improve *_get() functions to return the object type 2014-09-08 19:07:52 +02:00
mgmt.h Bluetooth: Rename pairable mgmt setting to bondable 2014-07-30 19:28:41 +02:00
rfcomm.h Bluetooth: Convert RFCOMM spinlocks into mutexes 2014-05-05 19:25:06 -07:00
sco.h Bluetooth: Move SCO timeout constants into net/bluetooth/sco.c 2014-07-11 13:58:58 +03:00