vserver 1.9.3
[linux-2.6.git] / drivers / i2c / chips / lm78.c
index 40385ff..b3cab5f 100644 (file)
@@ -423,7 +423,7 @@ static ssize_t show_vid(struct device *dev, char *buf)
        struct lm78_data *data = lm78_update_device(dev);
        return sprintf(buf, "%d\n", VID_FROM_REG(data->vid));
 }
-static DEVICE_ATTR(in0_ref, S_IRUGO, show_vid, NULL);
+static DEVICE_ATTR(cpu0_vid, S_IRUGO, show_vid, NULL);
 
 /* Alarms */
 static ssize_t show_alarms(struct device *dev, char *buf)
@@ -615,7 +615,7 @@ int lm78_detect(struct i2c_adapter *adapter, int address, int kind)
        device_create_file(&new_client->dev, &dev_attr_fan3_min);
        device_create_file(&new_client->dev, &dev_attr_fan3_div);
        device_create_file(&new_client->dev, &dev_attr_alarms);
-       device_create_file(&new_client->dev, &dev_attr_in0_ref);
+       device_create_file(&new_client->dev, &dev_attr_cpu0_vid);
 
        return 0;