Changeset 3215

Show
Ignore:
Timestamp:
12/13/05 20:53:22 (3 years ago)
Author:
khali
Message:

Simplify message logging.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/kernel/chips/f71805f.c

    r3214 r3215  
    279279        reg = f71805f_read8(client, F71805F_REG_START); 
    280280        if ((reg & 0x41) != 0x01) { 
    281                 printk(KERN_DEBUG "%s: Starting monitoring operations\n", 
    282                        DRVNAME); 
     281                printk(KERN_DEBUG DRVNAME ": Starting monitoring " 
     282                       "operations\n"); 
    283283                f71805f_write8(client, 
    284284                               F71805F_REG_START, (reg | 0x01) & ~0x40); 
     
    363363        i2c_deregister_entry(data->sysctl_id); 
    364364        if ((err = i2c_detach_client(client))) { 
    365                 printk(KERN_ERR "%s: Client deregistration failed, " 
    366                        "client not detached\n", DRVNAME); 
     365                printk(KERN_ERR DRVNAME ": Client deregistration failed, " 
     366                       "client not detached\n"); 
    367367                return err; 
    368368        } 
     
    705705        devid = superio_inw(sioaddr, SIO_REG_DEVID); 
    706706        if (devid != SIO_F71805F_ID) { 
    707                 printk(KERN_INFO "%s: Unsupported Fintek device, " 
    708                        "skipping\n", DRVNAME); 
     707                printk(KERN_INFO DRVNAME ": Unsupported Fintek device, " 
     708                       "skipping\n"); 
    709709                goto exit; 
    710710        } 
     
    712712        superio_select(sioaddr, F71805F_LD_HWM); 
    713713        if (!(superio_inb(sioaddr, SIO_REG_ENABLE) & 0x01)) { 
    714                 printk(KERN_WARNING "%s: Device not activated, skipping\n", 
    715                        DRVNAME); 
     714                printk(KERN_WARNING DRVNAME ": Device not activated, " 
     715                       "skipping\n"); 
    716716                goto exit; 
    717717        } 
     
    719719        *address = superio_inw(sioaddr, SIO_REG_ADDR); 
    720720        if (*address == 0) { 
    721                 printk(KERN_WARNING "%s: Base address not set, skipping\n", 
    722                        DRVNAME); 
     721                printk(KERN_WARNING DRVNAME ": Base address not set, " 
     722                       "skipping\n"); 
    723723                goto exit; 
    724724        } 
    725725 
    726726        err = 0; 
    727         printk(KERN_INFO "%s: Found F71805F chip at %#x, revision %u\n", 
    728                DRVNAME, *address, superio_inb(sioaddr, SIO_REG_DEVREV)); 
     727        printk(KERN_INFO DRVNAME ": Found F71805F chip at %#x, revision %u\n", 
     728               *address, superio_inb(sioaddr, SIO_REG_DEVREV)); 
    729729 
    730730exit: