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

From
Linus Walleij <hidden>
Date
2021-07-23 22:45:41
Also in
linux-arm-kernel, linux-iio
Reply to
Maxime Ripard, 2021-07-21
On Wed, Jul 21, 2021 at 4:05 PM Maxime Ripard [off-list ref] 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>
Oops this was too ambitious. Sorry about that.
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Thread (125 messages) 125 messages, 15 authors, last reply 2021-08-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help