# Re: \[PATCH 2/3\] platform/x86: intel\_int0002\_vgpio: Use the new soc\_intel\_is\_byt/cht helpers

- From: Andy Shevchenko \<hidden\>
- Date: 2021-10-18 15:09:37 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/10/8933508
- Thread: https://ratatoskr.run/linux-input/2021/10/8933501/t.md

```text
On Mon, Oct 18, 2021 at 6:03 PM Andy Shevchenko
[ref] wrote:
> On Mon, Oct 18, 2021 at 5:33 PM Hans de Goede [ref] wrote:

...

> > +       if (!soc_intel_is_byt() && !soc_intel_is_cht())
>
>   if (!(soc_intel_is_byt() || soc_intel_is_cht()))
>
> ?

Self-nak on this. && is slightly better in case we got the first
argument false. Proposed variant will always evaluate both.

-- 
With Best Regards,
Andy Shevchenko
```
