[ Upstream commit202798db95] We should not call hci_unregister_dev if the device was not successfully registered. Fixes:c34dc3bfa7("Bluetooth: hci_serdev: Introduce hci_uart_unregister_device()") Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Sasha Levin <sashal@kernel.org>