hwmon: ina2xx: move binding docs to proper place
authorWolfram Sang <wsa@the-dreams.de>
Sat, 8 Aug 2015 18:30:35 +0000 (20:30 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 10 Aug 2015 06:37:37 +0000 (08:37 +0200)
The I2C dir is not for I2C client devices! Move it to the proper folder.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/ina2xx.txt [new file with mode: 0644]
Documentation/devicetree/bindings/i2c/ina2xx.txt [deleted file]

diff --git a/Documentation/devicetree/bindings/hwmon/ina2xx.txt b/Documentation/devicetree/bindings/hwmon/ina2xx.txt
new file mode 100644 (file)
index 0000000..a2ad85d
--- /dev/null
@@ -0,0 +1,22 @@
+ina2xx properties
+
+Required properties:
+- compatible: Must be one of the following:
+       - "ti,ina219" for ina219
+       - "ti,ina220" for ina220
+       - "ti,ina226" for ina226
+       - "ti,ina230" for ina230
+- reg: I2C address
+
+Optional properties:
+
+- shunt-resistor
+       Shunt resistor value in micro-Ohm
+
+Example:
+
+ina220@44 {
+       compatible = "ti,ina220";
+       reg = <0x44>;
+       shunt-resistor = <1000>;
+};
diff --git a/Documentation/devicetree/bindings/i2c/ina2xx.txt b/Documentation/devicetree/bindings/i2c/ina2xx.txt
deleted file mode 100644 (file)
index a2ad85d..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-ina2xx properties
-
-Required properties:
-- compatible: Must be one of the following:
-       - "ti,ina219" for ina219
-       - "ti,ina220" for ina220
-       - "ti,ina226" for ina226
-       - "ti,ina230" for ina230
-- reg: I2C address
-
-Optional properties:
-
-- shunt-resistor
-       Shunt resistor value in micro-Ohm
-
-Example:
-
-ina220@44 {
-       compatible = "ti,ina220";
-       reg = <0x44>;
-       shunt-resistor = <1000>;
-};