diff options
| author | David Herrmann <[email protected]> | 2012-02-09 21:58:33 +0100 |
|---|---|---|
| committer | Johan Hedberg <[email protected]> | 2012-02-13 17:01:37 +0200 |
| commit | 3dc07322b1ce3c8477690d54ebbf15a165f43066 (patch) | |
| tree | c66786eff790fdb08747b3f92ee5014a5569d4e8 /scripts | |
| parent | 155961e8001719af6d87cbcc961111e8ce477843 (diff) | |
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 <[email protected]>
Acked-by: Marcel Holtmann <[email protected]>
Signed-off-by: Johan Hedberg <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions