Bluetooth: hci_qca: Fix build error
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 11 Jul 2024 02:30:57 +0000 (22:30 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Jul 2024 14:12:56 +0000 (10:12 -0400)
This fixes the following build error introduced by b80f4e3b8cb8
("Bluetooth: hci_qca: schedule a devm action for disabling the clock"):

drivers/bluetooth/hci_qca.c: In function ‘qca_serdev_remove’:
drivers/bluetooth/hci_qca.c:2501:2: error: label at end of compound statement
 2501 |  default:
      |  ^~~~~~~

Fixes: b80f4e3b8cb8 ("Bluetooth: hci_qca: schedule a devm action for disabling the clock")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/hci_qca.c

index 030153d468bfd0ff149e66abdb6ef1161c369379..ca64666769027acba1ec52bf02dbdecb487c9bdc 100644 (file)
@@ -2499,6 +2499,7 @@ static void qca_serdev_remove(struct serdev_device *serdev)
                        qca_power_shutdown(&qcadev->serdev_hu);
                break;
        default:
+               break;
        }
 
        hci_uart_unregister_device(&qcadev->serdev_hu);