[PATCH 3.12 095/170] hwmon: (ina2xx) Cast to s16 on shunt and current regs

2014-07-18 Thread Jiri Slaby
From: Fabio Baltieri 3.12-stable review patch. If anyone has any objections, please let me know. === commit c0214f98943b1fe43f7be61b7782b0c8f0836f28 upstream. All devices supported by ina2xx are bidirectional and report the measured shunt voltage and power values as a signed 16

[PATCH 3.12 095/170] hwmon: (ina2xx) Cast to s16 on shunt and current regs

2014-07-18 Thread Jiri Slaby
From: Fabio Baltieri fabio.balti...@gmail.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit c0214f98943b1fe43f7be61b7782b0c8f0836f28 upstream. All devices supported by ina2xx are bidirectional and report the measured shunt voltage and power