]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_h5: directly return hci_uart_register_device() ret-val
authorHans de Goede <hdegoede@redhat.com>
Fri, 24 Sep 2021 09:41:06 +0000 (11:41 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 24 Sep 2021 09:48:02 +0000 (11:48 +0200)
commit7130adfd1603965133fbdf796fe396cd8b624e98
tree32da83fec5bc2fa314459844bfdba885ad0a2c66
parentb1d1dd7fbe3dfae5192a905700b179cb836716c2
Bluetooth: hci_h5: directly return hci_uart_register_device() ret-val

Since the hci_uart_register_device() call is the last thing we do in
h5_serdev_probe() we can simply directly return its return-value.

Cc: Archie Pusaka <apusaka@google.com>
Suggested-by: Archie Pusaka <apusaka@google.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_h5.c