summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-i801.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2015-02-13 15:52:21 +0200
committerWolfram Sang <wsa@the-dreams.de>2015-03-09 10:51:58 +0100
commit9cbbf3dc994797f49cd30607a16182ca6c87863f (patch)
tree5679a977f7b34822cc1e037b9d4103781abd5907 /drivers/i2c/busses/i2c-i801.c
parent9eccca0843205f87c00404b663188b88eb248051 (diff)
downloadlinux-9cbbf3dc994797f49cd30607a16182ca6c87863f.tar.gz
linux-9cbbf3dc994797f49cd30607a16182ca6c87863f.tar.bz2
linux-9cbbf3dc994797f49cd30607a16182ca6c87863f.zip
i2c: i801: Don't break user-visible strings
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-i801.c')
-rw-r--r--drivers/i2c/busses/i2c-i801.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
index 8fafb254e42a..7d1f4a478c54 100644
--- a/drivers/i2c/busses/i2c-i801.c
+++ b/drivers/i2c/busses/i2c-i801.c
@@ -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;
}