summaryrefslogtreecommitdiff
path: root/drivers/iio/humidity/hdc100x.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2021-07-21 17:03:45 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-07-24 18:19:00 +0300
commit14a30238ecb8dcf52a9e2be514414e3ec443b536 (patch)
tree2579a6cc19250e6ee6ffae6b949048bf6ba12a1e /drivers/iio/humidity/hdc100x.c
parent9f9decdb64c5cc05b66f7a6ede226dd90684570b (diff)
downloadlinux-14a30238ecb8dcf52a9e2be514414e3ec443b536.tar.xz
dt-bindings: iio: st: Remove wrong items length check
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@st.com> Cc: Lars-Peter Clausen <lars@metafoo.de> Fixes: 0cd71145803d ("iio: st-sensors: Update ST Sensor bindings") Signed-off-by: Maxime Ripard <maxime@cerno.tech> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20210721140424.725744-16-maxime@cerno.tech Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/humidity/hdc100x.c')
0 files changed, 0 insertions, 0 deletions