Skip to content
Commit 691d54d0 authored by Neil Armstrong's avatar Neil Armstrong Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: qca: use switch case for soc type behavior



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: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Suggested-by: default avatarLuiz Augusto von Dentz <luiz.dentz@gmail.com>
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 9f19fb8f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment