commit | 4667bcb8d8fc081a804a798df70dc91241946e0a | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Thu Oct 28 20:31:43 2010 +0200 |
committer | Jean Delvare <khali@endymion.delvare> | Thu Oct 28 20:31:43 2010 +0200 |
tree | e04d375e9354fe65e6436c5b2f0651501f81e207 | |
parent | 15b66ab69051c014d0ba9f46f7081a8a7e6ad1c3 [diff] |
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>