hwmon/w83781d: Clean up conversion macros
authorJean Delvare <khali@linux-fr.org>
Tue, 8 May 2007 15:22:03 +0000 (17:22 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 8 May 2007 15:22:03 +0000 (17:22 +0200)
commit474d00a8912f56241cec6e1832ce390e87bfb243
tree810be265406feb19e4348b4ba598bf01dde77f14
parent7666c13c627fdc65e8057013893c183c3bafe59e
hwmon/w83781d: Clean up conversion macros

* Fix voltage rounding
* Drop useless macros
* Drop useless casts
* Turn macros evaluating their parameters more than once into inline
  functions
* Use signed variables for temperatures

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83781d.c