diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-01-07 15:47:18 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 16:01:24 +0100 |
commit | dabbaab394d17ba1d1b55092d553e6e31a3d0afd (patch) | |
tree | d903dc8d2718dff30bc97786385fcbfd3736323a /lib | |
parent | Bluetooth: bpa10x: Free private driver data on usb shutdown (diff) | |
download | linux-dabbaab394d17ba1d1b55092d553e6e31a3d0afd.tar.xz linux-dabbaab394d17ba1d1b55092d553e6e31a3d0afd.zip |
Bluetooth: btsdio: Free driver data on SDIO shutdown
Instead of waiting for the hdev object to get freed we now free the
private driver-internal data on SDIO shutdown. This allows us to remove
the obsolete hci-destruct callback and free our data object right away
after calling hci_unregister_dev(). The HCI-core does not call any
callbacks after this so we are never called again and can safely exit
the module.
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 'lib')
0 files changed, 0 insertions, 0 deletions