diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-02-09 21:58:33 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 17:01:37 +0200 |
commit | 3dc07322b1ce3c8477690d54ebbf15a165f43066 (patch) | |
tree | c66786eff790fdb08747b3f92ee5014a5569d4e8 /fs/fs_struct.c | |
parent | 155961e8001719af6d87cbcc961111e8ce477843 (diff) | |
download | linux-3dc07322b1ce3c8477690d54ebbf15a165f43066.tar.bz2 |
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 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions