diff options
author | Neil Armstrong <neil.armstrong@linaro.org> | 2023-08-16 10:06:47 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-08-24 21:20:54 +0200 |
commit | 691d54d0f7cb14baac1ff4af210d13c0e4897e27 (patch) | |
tree | c8a41bf173b59953f8632ec7a68c5b1b1e30e845 /drivers/thermal/qoriq_thermal.c | |
parent | dt-bindings: net: bluetooth: qualcomm: document WCN7850 chipset (diff) | |
download | linux-691d54d0f7cb14baac1ff4af210d13c0e4897e27.tar.xz linux-691d54d0f7cb14baac1ff4af210d13c0e4897e27.zip |
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: 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>
Diffstat (limited to 'drivers/thermal/qoriq_thermal.c')
0 files changed, 0 insertions, 0 deletions