]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93641d5d87d560b0f01822a1f9ff8d45b1c2ada1
tree9df260f10ffc8a644c47cec4952bea5df85d34c4
parent70504dcff57ae092ec9e9782d413c7fdcf439c65
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