Changeset 5054

Show
Ignore:
Timestamp:
12/01/07 11:50:40 (1 year ago)
Author:
khali
Message:

adm1026: Various cleanups.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/CHANGES

    r5052 r5054  
    66           Fix sysfs presence detection 
    77  Makefile: Revert changeset 4738, fix bug #2187 differently 
     8  Module adm1026: Various cleanups 
    89  Module eeprom: Hide Sony Vaio serial numbers to regular users (2.6 backport) 
    910                 Drop useless debugging log messages 
  • lm-sensors/trunk/kernel/chips/adm1026.c

    r4651 r5054  
    3434                 and the old scaling was producing double the RPM's 
    3535                 Thanks to Jerome Hsiao @ Arima for pointing this out. 
    36        2004-01-27   Remove use of temporary ID. 
     36    2004-01-27   Remove use of temporary ID. 
    3737                 Define addresses as a range. 
    3838*/ 
     
    297297        struct i2c_client client; 
    298298        int sysctl_id; 
    299         enum chips type; 
    300299 
    301300        struct semaphore update_lock; 
     
    470469#define ADM1026_ALARM_THERM   (1L << 27) 
    471470#define ADM1026_ALARM_AFC_FAN (1L << 28) 
    472 #define ADM1026_ALARM_UNUSED  (1L << 29) 
    473471#define ADM1026_ALARM_CI      (1L << 30) 
    474472/* -- SENSORS SYSCTL END -- */ 
     
    726724 
    727725        /* Housekeeping values */ 
    728         data->type = kind; 
    729726        data->valid = 0; 
    730727 
     
    856853        } 
    857854 
    858         value = data->config3 ; 
    859855        if( data->config3 & CFG3_GPIO16_ENABLE ) { 
    860856                printk("adm1026(%d): GPIO16 enabled.  THERM pin disabled.\n", 
     
    17221718{ 
    17231719        printk("adm1026: Version %s (%s)\n", LM_VERSION, LM_DATE); 
    1724         printk("adm1026: See http://www.penguincomputing.com/lm_sensors for more info.\n" ); 
    17251720        return i2c_add_driver(&adm1026_driver); 
    17261721}