commit | 6ba71de5f81bbf639b5dcea2bc2c33cdb87ed782 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Fri Nov 04 12:00:47 2011 +0100 |
committer | Jean Delvare <khali@endymion.delvare> | Fri Nov 04 12:00:47 2011 +0100 |
tree | 3c982ed45c7f7e51da0b2e735407b9ad3952e843 | |
parent | 2265cef2751b3441df91f85e0107f9f549e5b711 [diff] |
hwmon: (w83627ehf) Clean up probe function The probe function has grown pretty large, I think it's time for some cleanups, starting with these two simple ones: * Move temp3/in6 check for the W83667HG later in the function, where it is done for all other chip types. * Move temperature register setting to a separate function, to avoid code duplication. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>