diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-11-04 12:00:47 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-11-04 12:00:47 +0100 |
commit | 6ba71de5f81bbf639b5dcea2bc2c33cdb87ed782 (patch) | |
tree | 3c982ed45c7f7e51da0b2e735407b9ad3952e843 /drivers/hwmon/pc87427.c | |
parent | 2265cef2751b3441df91f85e0107f9f549e5b711 (diff) | |
download | talos-obmc-linux-6ba71de5f81bbf639b5dcea2bc2c33cdb87ed782.tar.gz talos-obmc-linux-6ba71de5f81bbf639b5dcea2bc2c33cdb87ed782.zip |
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>
Diffstat (limited to 'drivers/hwmon/pc87427.c')
0 files changed, 0 insertions, 0 deletions