From: David Herrmann Date: Thu, 9 Feb 2012 20:58:33 +0000 (+0100) Subject: Bluetooth: Introduce to_hci_conn X-Git-Tag: v3.4-rc1~177^2~112^2~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dc07322b1ce3c8477690d54ebbf15a165f43066;p=pandora-kernel.git 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 Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed