]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (tmp401/tmp421) Clean up detect functions
authorJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:35:54 +0000 (20:35 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:35:54 +0000 (20:35 +0100)
commit21a29468514c53b28fe09ce2e10bccecb0de4415
tree5bc08b0a733b5e199112d5c3bb49d3280b3a4895
parente30c9406e51a4a6d591ab419d9f89ea0692bc31e
hwmon: (tmp401/tmp421) Clean up detect functions

As kind is now hard-coded to -1, there is room for code clean-ups.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Andre Prendel <andre.prendel@gmx.de>
drivers/hwmon/tmp401.c
drivers/hwmon/tmp421.c