hwmon: Clean up detect functions
authorJean Delvare <[email protected]>
Wed, 9 Dec 2009 19:35:57 +0000 (20:35 +0100)
committerJean Delvare <[email protected]>
Wed, 9 Dec 2009 19:35:57 +0000 (20:35 +0100)
commit52df6440a29123eed912183fe785bbe174ef14b9
tree3a3b9f4110d21c2ec4f5711444dd9cec6fb3d32c
parenta1fa4cdcc4abd4c02a81ab7052c16a342d29f060
hwmon: Clean up detect functions

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

Signed-off-by: Jean Delvare <[email protected]>
Acked-by: Corentin Labbe <[email protected]>
Cc: "Mark M. Hoffman" <[email protected]>
Cc: Juerg Haefliger <[email protected]>
Cc: Riku Voipio <[email protected]>
Acked-by: "Hans J. Koch" <[email protected]>
Cc: Rudolf Marek <[email protected]>
29 files changed:
drivers/hwmon/adm1026.c
drivers/hwmon/adm1029.c
drivers/hwmon/adm1031.c
drivers/hwmon/adm9240.c
drivers/hwmon/ads7828.c
drivers/hwmon/adt7462.c
drivers/hwmon/adt7470.c
drivers/hwmon/adt7473.c
drivers/hwmon/adt7475.c
drivers/hwmon/asb100.c
drivers/hwmon/dme1737.c
drivers/hwmon/ds1621.c
drivers/hwmon/f75375s.c
drivers/hwmon/fschmd.c
drivers/hwmon/gl518sm.c
drivers/hwmon/gl520sm.c
drivers/hwmon/lm63.c
drivers/hwmon/lm75.c
drivers/hwmon/lm78.c
drivers/hwmon/lm87.c
drivers/hwmon/lm92.c
drivers/hwmon/lm93.c
drivers/hwmon/lm95241.c
drivers/hwmon/max1619.c
drivers/hwmon/max6650.c
drivers/hwmon/smsc47m192.c
drivers/hwmon/thmc50.c
drivers/hwmon/w83793.c
drivers/hwmon/w83l786ng.c