Changeset 5216

Show
Ignore:
Timestamp:
05/01/08 12:22:49 (2 months ago)
Author:
khali
Message:

Minor cleanups in sis5595_access, backported from Linux 2.6:
* Remove commented-out code.
* Remove a legacy comment.

Files:

Legend:

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

    r5215 r5216  
    66  Module i2c-i801: Drop broken I2C block read support 
    77  Module i2c-piix4: Minor cleanups (2.6 backport) 
     8  Module i2c-sis5595: Minor cleanups (2.6 backport) 
    89  Program sensors-detect: New device ID for the SMSC SCH5317 
    910                          Add SMSC SCH5127 detection 
  • lm-sensors/trunk/kernel/busses/i2c-sis5595.c

    r4278 r5216  
    358358                    SIS5595_WORD_DATA; 
    359359                break; 
    360 /* 
    361         case I2C_SMBUS_BLOCK_DATA: 
    362                 printk("sis5595.o: Block data not yet implemented!\n"); 
    363                 return -1; 
    364                 break; 
    365 */ 
    366360        default: 
    367361                printk 
     
    381375 
    382376        switch (size) { 
    383         case SIS5595_BYTE:      /* Where is the result put? I assume here it is in 
    384                                    SMB_DATA but it might just as well be in the 
    385                                    SMB_CMD. No clue in the docs */ 
     377        case SIS5595_BYTE: 
    386378        case SIS5595_BYTE_DATA: 
    387379                data->byte = sis5595_read(SMB_BYTE);