diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-01-07 15:47:17 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 17:01:24 +0200 |
commit | d25442ba4b44bf1fad50c9c2156a4ca89f269713 (patch) | |
tree | 47ce9f59bd0175c15841a422942022c7f371a357 /block/scsi_ioctl.c | |
parent | 8381088e39d03c55552b9dfb09b9b303e96acc78 (diff) | |
download | blackbird-op-linux-d25442ba4b44bf1fad50c9c2156a4ca89f269713.tar.gz blackbird-op-linux-d25442ba4b44bf1fad50c9c2156a4ca89f269713.zip |
Bluetooth: bpa10x: Free private driver data on usb shutdown
Instead of waiting for the hci-device to be destroyed we now free the
private driver data on driver shutdown right away. We call
hci_unregister_dev() on driver shutdown, that means, the hci-core will
never ever call our callbacks again except the destruct callback. It
also does not access hdev->driver_data so there is no reason to keep
that alive. We simply set the destruct cb to NULL to avoid getting
called again.
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 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions