Re: [PATCH v1] Bluetooth: qca: Refactor code on the basis of chipset names
From: Dmitry Baryshkov
Date: Tue Feb 10 2026 - 07:14:13 EST
On Tue, Feb 10, 2026 at 05:31:01PM +0530, Vivek Sahu wrote:
> Whenever new chipset support is added to the driver code,
> we ended up adding chipset name to the last of the switch case
> arising code readability issue because of improper sorting of
> the chipset names in various places of the code.
If it was true, the file would have been less oragnized than it is now.
Aside from that,
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
>
> Refactor code such a way that new chipset can be added easily
> in the code without compromising code readability.
>
> Signed-off-by: Vivek Sahu <vivek.sahu@xxxxxxxxxxxxxxxx>
> ---
> drivers/bluetooth/btqca.c | 37 +++++++++++++++++++------------------
> drivers/bluetooth/hci_qca.c | 30 +++++++++++++++---------------
> 2 files changed, 34 insertions(+), 33 deletions(-)
>
--
With best wishes
Dmitry