hwmon: (lm90) Introduce chip parameter structure
authorGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 28 Oct 2010 18:31:43 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:43 +0000 (20:31 +0200)
commit4667bcb8d8fc081a804a798df70dc91241946e0a
treee04d375e9354fe65e6436c5b2f0651501f81e207
parent15b66ab69051c014d0ba9f46f7081a8a7e6ad1c3
hwmon: (lm90) Introduce chip parameter structure

Instead of using switch/case and if statements in probe, define chip specific
functionality in a parameter structure array.

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