diff options
author | 2012-02-09 21:58:33 +0100 | |
---|---|---|
committer | 2012-02-13 17:01:37 +0200 | |
commit | 3dc07322b1ce3c8477690d54ebbf15a165f43066 (patch) | |
tree | c66786eff790fdb08747b3f92ee5014a5569d4e8 /net/bluetooth/lib.c | |
parent | Bluetooth: Remove hci_dev->driver_data (diff) | |
download | wireguard-linux-3dc07322b1ce3c8477690d54ebbf15a165f43066.tar.xz wireguard-linux-3dc07322b1ce3c8477690d54ebbf15a165f43066.zip |
Bluetooth: Introduce to_hci_conn
This avoids using the dev_set/get_drvdata() functions to retrieve a
pointer to our own structure. We can use simple pointer arithmetic here.
The drvdata field is actually not needed by any other code-path but this
makes the code more consistent with hci_dev.
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>
Diffstat (limited to 'net/bluetooth/lib.c')
0 files changed, 0 insertions, 0 deletions