summaryrefslogtreecommitdiff
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-02-09 20:58:33 (GMT)
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 15:01:37 (GMT)
commit3dc07322b1ce3c8477690d54ebbf15a165f43066 (patch)
treec66786eff790fdb08747b3f92ee5014a5569d4e8 /drivers/bluetooth
parent155961e8001719af6d87cbcc961111e8ce477843 (diff)
downloadlinux-fsl-qoriq-3dc07322b1ce3c8477690d54ebbf15a165f43066.tar.xz
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 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions