aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm93.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/lm93.c')
-rw-r--r--drivers/hwmon/lm93.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hwmon/lm93.c b/drivers/hwmon/lm93.c
index b9899b93c25e..ea61946a4bf7 100644
--- a/drivers/hwmon/lm93.c
+++ b/drivers/hwmon/lm93.c
@@ -2078,8 +2078,8 @@ static ssize_t show_vid(struct device *dev, struct device_attribute *attr,
2078 return sprintf(buf,"%d\n",LM93_VID_FROM_REG(data->vid[nr])); 2078 return sprintf(buf,"%d\n",LM93_VID_FROM_REG(data->vid[nr]));
2079} 2079}
2080 2080
2081static SENSOR_DEVICE_ATTR(vid1, S_IRUGO, show_vid, NULL, 0); 2081static SENSOR_DEVICE_ATTR(cpu0_vid, S_IRUGO, show_vid, NULL, 0);
2082static SENSOR_DEVICE_ATTR(vid2, S_IRUGO, show_vid, NULL, 1); 2082static SENSOR_DEVICE_ATTR(cpu1_vid, S_IRUGO, show_vid, NULL, 1);
2083 2083
2084static ssize_t show_prochot(struct device *dev, struct device_attribute *attr, 2084static ssize_t show_prochot(struct device *dev, struct device_attribute *attr,
2085 char *buf) 2085 char *buf)
@@ -2431,8 +2431,8 @@ static struct attribute *lm93_attrs[] = {
2431 &sensor_dev_attr_pwm2_auto_spinup_time.dev_attr.attr, 2431 &sensor_dev_attr_pwm2_auto_spinup_time.dev_attr.attr,
2432 &dev_attr_pwm_auto_prochot_ramp.attr, 2432 &dev_attr_pwm_auto_prochot_ramp.attr,
2433 &dev_attr_pwm_auto_vrdhot_ramp.attr, 2433 &dev_attr_pwm_auto_vrdhot_ramp.attr,
2434 &sensor_dev_attr_vid1.dev_attr.attr, 2434 &sensor_dev_attr_cpu0_vid.dev_attr.attr,
2435 &sensor_dev_attr_vid2.dev_attr.attr, 2435 &sensor_dev_attr_cpu1_vid.dev_attr.attr,
2436 &sensor_dev_attr_prochot1.dev_attr.attr, 2436 &sensor_dev_attr_prochot1.dev_attr.attr,
2437 &sensor_dev_attr_prochot2.dev_attr.attr, 2437 &sensor_dev_attr_prochot2.dev_attr.attr,
2438 &sensor_dev_attr_prochot1_avg.dev_attr.attr, 2438 &sensor_dev_attr_prochot1_avg.dev_attr.attr,