diff options
author | Joe Perches <joe@perches.com> | 2012-12-16 15:11:55 -0500 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-12-16 15:11:55 -0500 |
commit | 8117e41e238b5dd40b3925da8c2c4716067e6867 (patch) | |
tree | cfe6e83972e6d20bf9095e490eff5d93e80fd440 /drivers/i2c/busses/i2c-piix4.c | |
parent | 6676a847d48ac48908cf467b42da9045b5463a6e (diff) |
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, | |||
204 | */ | 204 | */ |
205 | pci_write_config_byte(PIIX4_dev, SMBHSTCFG, | 205 | pci_write_config_byte(PIIX4_dev, SMBHSTCFG, |
206 | temp | 1); | 206 | temp | 1); |
207 | dev_printk(KERN_NOTICE, &PIIX4_dev->dev, | 207 | dev_notice(&PIIX4_dev->dev, |
208 | "WARNING: SMBus interface has been " | 208 | "WARNING: SMBus interface has been FORCEFULLY ENABLED!\n"); |
209 | "FORCEFULLY ENABLED!\n"); | ||
210 | } else { | 209 | } else { |
211 | dev_err(&PIIX4_dev->dev, | 210 | dev_err(&PIIX4_dev->dev, |
212 | "Host SMBus controller not enabled!\n"); | 211 | "Host SMBus controller not enabled!\n"); |