diff options
author | Joe Perches <joe@perches.com> | 2012-12-16 21:11:55 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-12-16 21:11:55 +0100 |
commit | 8117e41e238b5dd40b3925da8c2c4716067e6867 (patch) | |
tree | cfe6e83972e6d20bf9095e490eff5d93e80fd440 /drivers/i2c/busses/i2c-piix4.c | |
parent | i2c-i801: Enable interrupts for all post-ICH5 chips (diff) | |
download | linux-8117e41e238b5dd40b3925da8c2c4716067e6867.tar.xz linux-8117e41e238b5dd40b3925da8c2c4716067e6867.zip |
i2c-piix4: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
dev_<level> calls take less code than dev_printk(KERN_<LEVEL>
and reducing object size is good.
Coalesce formats for easier grep.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-piix4.c')
-rw-r--r-- | drivers/i2c/busses/i2c-piix4.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c index 8bbd6ece7c41..f7216ed2f3a9 100644 --- a/drivers/i2c/busses/i2c-piix4.c +++ b/drivers/i2c/busses/i2c-piix4.c @@ -204,9 +204,8 @@ static int __devinit piix4_setup(struct pci_dev *PIIX4_dev, */ pci_write_config_byte(PIIX4_dev, SMBHSTCFG, temp | 1); - dev_printk(KERN_NOTICE, &PIIX4_dev->dev, - "WARNING: SMBus interface has been " - "FORCEFULLY ENABLED!\n"); + dev_notice(&PIIX4_dev->dev, + "WARNING: SMBus interface has been FORCEFULLY ENABLED!\n"); } else { dev_err(&PIIX4_dev->dev, "Host SMBus controller not enabled!\n"); |