treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / chemical / sensirion,sps30.yaml
blob50a50a0d7070517085b53b80d2b7f6e22f3a07af
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/chemical/sensirion,sps30.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sensirion SPS30 particulate matter sensor
9 maintainers:
10   - Tomasz Duszynski <tduszyns@gmail.com>
12 description: |
13   Air pollution sensor capable of measuring mass concentration of dust
14   particles.
16 properties:
17   compatible:
18     enum:
19       - sensirion,sps30
20   reg:
21     maxItems: 1
23 required:
24   - compatible
25   - reg
27 examples:
28   - |
29     i2c {
30       #address-cells = <1>;
31       #size-cells = <0>;
33       air-pollution-sensor@69 {
34         compatible = "sensirion,sps30";
35         reg = <0x69>;
36       };
37     };
39 ...