hwmon: (ina2xx) Add device tree support to pass the shunt resistor
authorTang Yuantian <yuantian.tang@freescale.com>
Wed, 19 Jun 2013 06:50:20 +0000 (14:50 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 27 Jun 2013 17:31:42 +0000 (10:31 -0700)
commit31e7ad74f6044ffec112fd4975c07b797589d89c
tree220cacb4384d156c3fc723ce043974aecc36e442
parent87438c2c5483a7ab445c14a8855fd309ae79b4e6
hwmon: (ina2xx) Add device tree support to pass the shunt resistor

Adding another way that is device tree to pass the shunt resistor
value to driver except for platform data.

Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
[Guenter Roeck: Added missing of.h include]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/i2c/ina2xx.txt [new file with mode: 0644]
Documentation/hwmon/ina2xx
drivers/hwmon/ina2xx.c