Changeset 2192

Show
Ignore:
Timestamp:
12/29/03 20:26:17 (9 years ago)
Author:
khali
Message:

Misc cleanups inspired from Linux 2.6.

Location:
lm-sensors/trunk/kernel/chips
Files:
2 modified

Legend:

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

    r2123 r2192  
    8080 
    8181/* 
    82  * Conversions, initial values and various macros 
     82 * Conversions and various macros 
    8383 * The LM83 uses signed 8-bit values. 
    8484 */ 
     
    286286                { 
    287287#ifdef DEBUG 
    288                         printk("lm83.o: LM83 detection failed at 0x%02x.\n", 
     288                        printk(KERN_DEBUG "lm83.o: Detection failed at 0x%02x.\n", 
    289289                                address); 
    290290#endif 
     
    413413                        i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS1) + 
    414414                        (i2c_smbus_read_byte_data(client, LM83_REG_R_STATUS2) << 8); 
     415 
    415416                data->last_updated = jiffies; 
    416417                data->valid = 1; 
  • lm-sensors/trunk/kernel/chips/lm90.c

    r2069 r2192  
    22 * lm90.c - Part of lm_sensors, Linux kernel modules for hardware 
    33 *          monitoring 
    4  * Copyright (c) 2003  Jean Delvare <khali@linux-fr.org> 
     4 * Copyright (C) 2003  Jean Delvare <khali@linux-fr.org> 
    55 * 
    66 * Based on the lm83 driver. The LM90 is a sensor chip made by National 
     
    9999 
    100100/* 
    101  * Conversions, initial values and various macros 
     101 * Conversions and various macros 
    102102 * The LM90 uses signed 8-bit values for the local temperatures, 
    103103 * and signed 11-bit values for the remote temperatures (except 
     
    139139 * Driver data (common to all clients) 
    140140 */ 
    141   
     141 
    142142static struct i2c_driver lm90_driver = { 
    143143        .owner          = THIS_MODULE, 
     
    230230 * succeeds, it also registers the new chip. 
    231231 */ 
    232  
    233232static int lm90_detect(struct i2c_adapter *adapter, int address, 
    234233        unsigned short flags, int kind) 
     
    299298                { 
    300299#ifdef DEBUG 
    301                         printk("lm90.o: Detection failed at 0x%02x.\n", 
     300                        printk(KERN_DEBUG "lm90.o: Detection failed at 0x%02x.\n", 
    302301                                address); 
    303302#endif 
     
    414413 
    415414        /* 
    416          * Starts the conversions. 
     415         * Start the conversions. 
    417416         */ 
    418417