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)
commit6fc165337b0d06670b3b266fc217dd72b080c870
tree32da83fec5bc2fa314459844bfdba885ad0a2c66
parent9a9023f314873241a43b5a2b96e9c0caaa958433
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