Changeset 77

Show
Ignore:
Timestamp:
12/14/98 04:28:44 (14 years ago)
Author:
frodo
Message:

Small bug fixed which made it impossible to detect more than one

LM78.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/lm78.c

    r75 r77  
    390390      goto ERROR4; 
    391391    ((struct lm78_data *) (new_client->data)) -> sysctl_id = err; 
     392    err = 0; 
    392393 
    393394    /* Initialize the LM78 chip */ 
     
    507508      goto ERROR4; 
    508509    ((struct lm78_data *) (new_client->data))->sysctl_id = err; 
     510    err = 0; 
    509511 
    510512    /* Initialize the LM78 chip */ 
  • lm-sensors/trunk/src/lm78.c

    r75 r77  
    390390      goto ERROR4; 
    391391    ((struct lm78_data *) (new_client->data)) -> sysctl_id = err; 
     392    err = 0; 
    392393 
    393394    /* Initialize the LM78 chip */ 
     
    507508      goto ERROR4; 
    508509    ((struct lm78_data *) (new_client->data))->sysctl_id = err; 
     510    err = 0; 
    509511 
    510512    /* Initialize the LM78 chip */