# Re: \[PATCH v3 2/3\] bluetooth: qca: use switch case for soc type behavior

- From: Simon Horman \<horms@kernel.org\>
- Date: 2023-08-03 14:58:40 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/08/2290814
- Thread: https://ratatoskr.run/netdev/2023/08/2290177/t.md

```text
On Thu, Aug 03, 2023 at 10:45:27AM +0200, Neil Armstrong wrote:
> Use switch/case to handle soc type specific behaviour,
> the permit dropping the qca_is_xxx() inline functions
> and maked the code clearer and easier to update for new

nit: maked -> make

> SoCs.
> 
> Suggested-by: Konrad Dybcio <redacted>
> Suggested-by: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>

...
```
