hwmon: (gl518sm) Don't create sysfs files for missing features
authorJean Delvare <khali@linux-fr.org>
Mon, 22 Oct 2007 15:46:17 +0000 (17:46 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Fri, 8 Feb 2008 01:39:41 +0000 (20:39 -0500)
commit5314f5c1abf03a56c6607ddef96b7a5607bee2f8
tree2f9b19bed0f6a55bc34c6220b9366d79f6be23d9
parenta5955ed27497385cc491ecbe40af45951e830881
hwmon: (gl518sm) Don't create sysfs files for missing features

The early revisions of the GL518SM do not report voltage values for
the first 3 voltage channels. We should not create sysfs attributes
for these missing features.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/gl518sm.c