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

Linus Walleij linus.walleij at linaro.org
Fri Jul 23 15:45:25 PDT 2021


On Wed, Jul 21, 2021 at 4:05 PM Maxime Ripard <maxime at cerno.tech> 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 <denis.ciocca at st.com>
> Cc: Jonathan Cameron <jic23 at kernel.org>
> Cc: Lars-Peter Clausen <lars at metafoo.de>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: linux-iio at vger.kernel.org
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>

Oops this was too ambitious. Sorry about that.
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list