]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: hci_qca: unduplicate calls to hci_uart_register_device()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 9 Jul 2024 12:18:34 +0000 (14:18 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Jul 2024 14:12:13 +0000 (10:12 -0400)
commitb8093157714fb0e1475909d744007d102efeaff1
treeed35e0c8e44a9ff1f151f33199b6b203ace0bc29
parentb80f4e3b8cb8a4a41cc038807cd0a1e889154902
Bluetooth: hci_qca: unduplicate calls to hci_uart_register_device()

Now that all three branches of the switch end up doing the same thing,
we can move the call to hci_uart_register_device() past it and unify the
error message.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/hci_qca.c