Changeset 1863
- Timestamp:
- 07/07/03 10:31:54 (10 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/kernel/chips/lm83.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/chips/lm83.c
r1853 r1863 390 390 data->remote3_temp = 391 391 lm83_read_value(client, LM83_REG_R_REMOTE3_TEMP); 392 data->local_high = 393 lm83_read_value(client, LM83_REG_R_LOCAL_HIGH); 394 data->remote1_high = 395 lm83_read_value(client, LM83_REG_R_REMOTE1_HIGH); 396 data->remote2_high = 397 lm83_read_value(client, LM83_REG_R_REMOTE2_HIGH); 398 data->remote3_high = 399 lm83_read_value(client, LM83_REG_R_REMOTE3_HIGH); 392 400 data->last_updated = jiffies; 393 401 data->valid = 1; … … 406 414 { 407 415 lm83_update_client(client); 408 results[0] = TEMP_FROM_REG(data->local_ temp);409 results[1] = TEMP_FROM_REG(data->local_ high);416 results[0] = TEMP_FROM_REG(data->local_high); 417 results[1] = TEMP_FROM_REG(data->local_temp); 410 418 *nrels_mag = 2; 411 419 } … … 430 438 { 431 439 lm83_update_client(client); 432 results[0] = TEMP_FROM_REG(data->remote1_ temp);433 results[1] = TEMP_FROM_REG(data->remote1_ high);440 results[0] = TEMP_FROM_REG(data->remote1_high); 441 results[1] = TEMP_FROM_REG(data->remote1_temp); 434 442 *nrels_mag = 2; 435 443 } … … 454 462 { 455 463 lm83_update_client(client); 456 results[0] = TEMP_FROM_REG(data->remote2_ temp);457 results[1] = TEMP_FROM_REG(data->remote2_ high);464 results[0] = TEMP_FROM_REG(data->remote2_high); 465 results[1] = TEMP_FROM_REG(data->remote2_temp); 458 466 *nrels_mag = 2; 459 467 } … … 478 486 { 479 487 lm83_update_client(client); 480 results[0] = TEMP_FROM_REG(data->remote3_ temp);481 results[1] = TEMP_FROM_REG(data->remote3_ high);488 results[0] = TEMP_FROM_REG(data->remote3_high); 489 results[1] = TEMP_FROM_REG(data->remote3_temp); 482 490 *nrels_mag = 2; 483 491 }
