treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / magnetometer / bmc150_magn.txt
blobfd5fca90fb39614c97861e61f99429b8935cda31
1 * Bosch BMC150 magnetometer sensor
3 http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf
5 Required properties:
7   - compatible : should be "bosch,bmc150_magn"
8   - reg : the I2C address of the magnetometer
10 Optional properties:
12   - interrupts : interrupt mapping for GPIO IRQ
14 Example:
16 bmc150_magn@12 {
17         compatible = "bosch,bmc150_magn";
18         reg = <0x12>;
19         interrupt-parent = <&gpio1>;
20         interrupts = <0 1>;