]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Bluetooth: qca: Refactor code on the basis of chipset names
authorVivek Sahu <vivek.sahu@oss.qualcomm.com>
Tue, 10 Feb 2026 12:01:01 +0000 (17:31 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 10 Apr 2026 14:22:00 +0000 (10:22 -0400)
commitf29bc37dfc4ad7570d78f8cd482d4b83c3caffdf
treee95fd8be248cbd26b4c7515c925805ede235e168
parent679621a767bfa0a2cb77fbd8b664412e9e3f89cf
Bluetooth: qca: Refactor code on the basis of chipset names

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.

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@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btqca.c
drivers/bluetooth/hci_qca.c