Changeset 351

Show
Ignore:
Timestamp:
03/29/99 03:20:48 (16 years ago)
Author:
mds
Message:

got rid of compile warnings.

Files:
1 modified

Legend:

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

    r350 r351  
    335335 
    336336    temp = smbus_read_byte_data(adapter,address,ADM9240_REG_COMPANY_ID); 
    337     if (temp == 0x23)  { 
     337    if (temp == 0x23) { 
    338338      type_name = "adm9240"; 
    339339      client_name = "ADM9240 chip"; 
     
    341341      type_name = "ds1780"; 
    342342      client_name = "DS1780 chip"; 
    343     } 
    344     if (temp == 0x23 || temp == 0xDA)  { 
    345       temp=smbus_read_byte_data(adapter,address,ADM9240_REG_DIE_REV); 
    346       printk("adm9240.o: %s detected with die rev.: 0x%X\n", 
    347               client_name, temp); 
    348     } 
    349     else         
     343    } else       
    350344      continue; 
     345    temp=smbus_read_byte_data(adapter,address,ADM9240_REG_DIE_REV); 
     346    printk("adm9240.o: %s detected with die rev.: 0x%X\n", 
     347            client_name, temp); 
    351348 
    352349