# Re: \[PATCH 15/54\] dt-bindings: iio: st: Remove wrong items length check

- From: Rob Herring \<robh@kernel.org\>
- Date: 2021-07-23 21:47:58 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/07/8193277
- Thread: https://ratatoskr.run/linux-devicetree/2021/07/8193103/t/2.md

```text
On Wed, 21 Jul 2021 16:03:45 +0200, Maxime Ripard wrote:
> The original bindings was listing the length of the interrupts as either
> 1 or 2, depending on the setup. This is also what is enforced by the top
> level schema.
> 
> However, that is further constrained with an if clause that require
> exactly two interrupts, even though it might not make sense on those
> devices or in some setups.
> 
> Let's remove the clause entirely.
> 
> Cc: Denis Ciocca <redacted>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Lars-Peter Clausen <lars@metafoo.de>
> Cc: Linus Walleij <redacted>
> Cc: <redacted>
> Signed-off-by: Maxime Ripard <redacted>
> ---
>  .../bindings/iio/st,st-sensors.yaml           | 41 -------------------
>  1 file changed, 41 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
```
