]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
i2c-piix4: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
authorJoe Perches <joe@perches.com>
Sun, 16 Dec 2012 20:11:55 +0000 (21:11 +0100)
committerJean Delvare <khali@endymion.delvare>
Sun, 16 Dec 2012 20:11:55 +0000 (21:11 +0100)
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>
drivers/i2c/busses/i2c-piix4.c

index 8bbd6ece7c41ede0a3040577db4b6116d6aa61bb..f7216ed2f3a924e760d98f38087303d5b3988bb1 100644 (file)
@@ -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");