Bluetooth: qca: use switch case for soc type behavior
[ Upstream commit 691d54d0 ] Use switch/case to handle soc type specific behaviour, the permit dropping the qca_is_xxx() inline functions and make the code clearer and easier to update for new SoCs. Suggested-by:Konrad Dybcio <konrad.dybcio@linaro.org> Suggested-by:
Luiz Augusto von Dentz <luiz.dentz@gmail.com> Signed-off-by:
Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by:
Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Stable-dep-of: cda0d6a1 ("Bluetooth: qca: fix info leak when fetching fw build id") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading