i2c: i801: Don't break user-visible strings
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Fri, 13 Feb 2015 13:52:21 +0000 (15:52 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 9 Mar 2015 09:51:58 +0000 (10:51 +0100)
It makes more difficult to grep these error prints from sources if they are
split to multiple source lines.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-i801.c

index 8fafb254e42a5583b46906ff884369882b6cf83b..7d1f4a478c5463bd80d78b42968c3f11e48b477f 100644 (file)
@@ -1192,8 +1192,8 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
        /* Determine the address of the SMBus area */
        priv->smba = pci_resource_start(dev, SMBBAR);
        if (!priv->smba) {
-               dev_err(&dev->dev, "SMBus base address uninitialized, "
-                       "upgrade BIOS\n");
+               dev_err(&dev->dev,
+                       "SMBus base address uninitialized, upgrade BIOS\n");
                err = -ENODEV;
                goto exit;
        }
@@ -1206,8 +1206,9 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
 
        err = pci_request_region(dev, SMBBAR, i801_driver.name);
        if (err) {
-               dev_err(&dev->dev, "Failed to request SMBus region "
-                       "0x%lx-0x%Lx\n", priv->smba,
+               dev_err(&dev->dev,
+                       "Failed to request SMBus region 0x%lx-0x%Lx\n",
+                       priv->smba,
                        (unsigned long long)pci_resource_end(dev, SMBBAR));
                goto exit;
        }