diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-05-08 17:21:59 +0200 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-05-08 17:21:59 +0200 |
commit | 8a665a0552c414af88788cc0e2cf0e4626182c20 (patch) | |
tree | 52b23555f5e240d81180cf4aab82b90bca804d1b /Documentation/power | |
parent | 94e183fd0425a917d9c1453041ef88f3610c0f01 (diff) |
hwmon: Only call vid_which_vrm() when needed
Some hardware monitoring drivers create the VID/VRM interface files
conditionally depending on the chip model or configuration. We should
only call vid_which_vrm() when we are actually going to create the
files. Not only it is more logical and efficient that way, but it also
prevents printing unnecessary warnings such as the one reported here:
http://lists.lm-sensors.org/pipermail/lm-sensors/2007-February/018954.html
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'Documentation/power')
0 files changed, 0 insertions, 0 deletions