OSDN Git Service

Bluetooth: hci_serdev: Introduce hci_uart_unregister_device()
authorIan Molton <ian@mnementh.co.uk>
Sat, 8 Jul 2017 16:37:41 +0000 (17:37 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 20 Jul 2017 09:18:36 +0000 (11:18 +0200)
commitc34dc3bfa7642fda423208579015d615f7becfa0
tree9e5dd5bfe190ba5eb4cc5f6c1e1d980a026f45af
parentfd865802c66bc451dc515ed89360f84376ce1a56
Bluetooth: hci_serdev: Introduce hci_uart_unregister_device()

Several drivers have the same (and incorrect) code in their
_remove() handler.

Coalesce this into a shared function.

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