Bluetooth: hci_ll: Use new hci_uart_unregister_device() function
authorIan Molton <ian@mnementh.co.uk>
Sat, 8 Jul 2017 16:37:43 +0000 (17:37 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 20 Jul 2017 09:18:36 +0000 (11:18 +0200)
commit37f5258d1cde34e73a5ce3dfe00a80274e299c72
tree06dd57e41ff7907c0485b796c4b82a33a02cb683
parent05f2a0bcecefdac5f2d27dff3164dcebff4d9618
Bluetooth: hci_ll: Use new hci_uart_unregister_device() function

Convert hci_ll to use hci_uart_unregister_device().

This simplifies the _remove() handler as well as fixes a
potential race condition on unload.

Signed-off-by: Ian Molton <ian@mnementh.co.uk>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabor.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ll.c