|
@@ -740,9 +740,9 @@ store_sensor(struct device *dev, struct device_attribute *da,
|
|
|
static SENSOR_DEVICE_ATTR(temp1_type, S_IRUGO | S_IWUSR,
|
|
|
show_sensor, store_sensor, 0);
|
|
|
static SENSOR_DEVICE_ATTR(temp2_type, S_IRUGO | S_IWUSR,
|
|
|
- show_sensor, store_sensor, 0);
|
|
|
+ show_sensor, store_sensor, 1);
|
|
|
static SENSOR_DEVICE_ATTR(temp3_type, S_IRUGO | S_IWUSR,
|
|
|
- show_sensor, store_sensor, 0);
|
|
|
+ show_sensor, store_sensor, 2);
|
|
|
|
|
|
/* I2C devices get this name attribute automatically, but for ISA devices
|
|
|
we must create it by ourselves. */
|