Hi Hans, > Make hci_uart_register_device() and hci_uart_unregister_device() call > serdev_device_close()/open() themselves instead of relying on the various > hci_uart drivers to do this for them. > > Besides reducing code complexity, this also ensures correct error checking > of serdev_device_open(), which was missing in a few drivers. > > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> > --- > drivers/bluetooth/hci_bcm.c | 10 +--------- > drivers/bluetooth/hci_ll.c | 3 --- > drivers/bluetooth/hci_nokia.c | 3 --- > drivers/bluetooth/hci_serdev.c | 9 ++++++++- > 4 files changed, 9 insertions(+), 16 deletions(-) this patch has been cherry-picked and applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html