hwmon: (w83795) Clean up probe function
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:46 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:46 +0000 (20:31 +0200)
commit71caf46fbf39207a324a16ddb6d8ef37c05777b9
tree9df260f10ffc8a644c47cec4952bea5df85d34c4
parent6f9dfd85f7b14dd3ea87106909dc54def08947b1
hwmon: (w83795) Clean up probe function

* The data structure is zalloc'd, so no need to set individual fields
  to 0 explicitly.
* Refactor the handling of pins that can be used for either
  temperature or voltage monitoring.
* Misc other clean-ups.

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