Changeset 3872

Show
Ignore:
Timestamp:
12/13/03 16:44:52 (11 years ago)
Author:
khali
Message:

Pointless printk changes (part of the Linux 2.4 merge process).

Location:
i2c/trunk/kernel
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/kernel/i2c-algo-bit.c

    r3852 r3872  
    180180        sdahi(adap); 
    181181        if (sclhi(adap)<0){ /* timeout */ 
    182             DEB2(printk(KERN_DEBUG " i2c_outb: 0x%02x, timeout at ack\n", c&0xff)); 
    183             return -ETIMEDOUT; 
     182                DEB2(printk(KERN_DEBUG " i2c_outb: 0x%02x, timeout at ack\n", c&0xff)); 
     183                return -ETIMEDOUT; 
    184184        }; 
    185185        /* read ack: SDA should be pulled down by slave */ 
     
    490490                        ret = bit_doAddress(i2c_adap, pmsg); 
    491491                        if ((ret != 0) && !nak_ok) { 
    492                             DEB2(printk(KERN_DEBUG "i2c-algo-bit.o: NAK from device addr %2.2x msg #%d\n" 
    493                                         ,msgs[i].addr,i)); 
    494                             return (ret<0) ? ret : -EREMOTEIO; 
     492                                DEB2(printk(KERN_DEBUG "i2c-algo-bit.o: NAK from device addr %2.2x msg #%d\n", 
     493                                        msgs[i].addr,i)); 
     494                                return (ret<0) ? ret : -EREMOTEIO; 
    495495                        } 
    496496                } 
  • i2c/trunk/kernel/i2c-core.c

    r3828 r3872  
    132132                        break; 
    133133        if (I2C_ADAP_MAX == i) { 
    134                 printk( KERN_WARNING "i2c-core.o: unregister_adapter adap [%s] not found.\n", 
     134                printk(KERN_WARNING "i2c-core.o: unregister_adapter adap [%s] not found.\n", 
    135135                        adap->name); 
    136136                res = -ENODEV; 
     
    175175 
    176176        adapters[i] = NULL; 
    177         DEB(printk(KERN_DEBUG "i2c-core.o: adapter unregistered: %s\n",adap->name)); 
     177        DEB(printk(KERN_DEBUG "i2c-core.o: adapter unregistered: %s\n",adap->name)); 
    178178 ERROR0: 
    179179        up(&core_lists); 
     
    753753                return (ret == 1 )? count : ret; 
    754754        } else { 
    755                 printk(KERN_DEBUG "i2c-core.o: I2C adapter %04x: I2C level transfers not supported\n", 
     755                printk(KERN_ERR "i2c-core.o: I2C adapter %04x: I2C level transfers not supported\n", 
    756756                       client->adapter->id); 
    757757                return -ENOSYS; 
  • i2c/trunk/kernel/i2c-elektor.c

    r3856 r3872  
    251251                goto fail; 
    252252         
    253         printk(KERN_ERR "i2c-elektor.o: found device at %#x.\n", base); 
     253        printk(KERN_DEBUG "i2c-elektor.o: found device at %#x.\n", base); 
    254254 
    255255        return 0;