hwmon: (w83795) More style cleanups
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:49 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:49 +0000 (20:31 +0200)
commiteb02755a50f8f3508030b311e3788426fbdc23b7
tree689aa8b124d7209b53b7c14bc93680e312620720
parent5d2cd958f777e533fa2809527836996f59b2d823
hwmon: (w83795) More style cleanups

Cleanups suggested by Guenter Roeck, falling into 4 categories:
* Swapping test orders, because if (var == CONSTANT) is much easier to
  read than if (CONSTANT == var).
* Simplifying comparisons with 0.
* Dropping unneeded masks.
* Dropping unneeded parentheses and curly braces.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/w83795.c