aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/bh1780gli.c8
-rw-r--r--drivers/misc/spear13xx_pcie_gadget.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/misc/bh1780gli.c b/drivers/misc/bh1780gli.c
index d07cd67c951c..82fe2d067827 100644
--- a/drivers/misc/bh1780gli.c
+++ b/drivers/misc/bh1780gli.c
@@ -49,8 +49,8 @@ static int bh1780_write(struct bh1780_data *ddata, u8 reg, u8 val, char *msg)
49 int ret = i2c_smbus_write_byte_data(ddata->client, reg, val); 49 int ret = i2c_smbus_write_byte_data(ddata->client, reg, val);
50 if (ret < 0) 50 if (ret < 0)
51 dev_err(&ddata->client->dev, 51 dev_err(&ddata->client->dev,
52 "i2c_smbus_write_byte_data failed error %d\ 52 "i2c_smbus_write_byte_data failed error %d Register (%s)\n",
53 Register (%s)\n", ret, msg); 53 ret, msg);
54 return ret; 54 return ret;
55} 55}
56 56
@@ -59,8 +59,8 @@ static int bh1780_read(struct bh1780_data *ddata, u8 reg, char *msg)
59 int ret = i2c_smbus_read_byte_data(ddata->client, reg); 59 int ret = i2c_smbus_read_byte_data(ddata->client, reg);
60 if (ret < 0) 60 if (ret < 0)
61 dev_err(&ddata->client->dev, 61 dev_err(&ddata->client->dev,
62 "i2c_smbus_read_byte_data failed error %d\ 62 "i2c_smbus_read_byte_data failed error %d Register (%s)\n",
63 Register (%s)\n", ret, msg); 63 ret, msg);
64 return ret; 64 return ret;
65} 65}
66 66
diff --git a/drivers/misc/spear13xx_pcie_gadget.c b/drivers/misc/spear13xx_pcie_gadget.c
index ec3b8c911833..7aded90f9daa 100644
--- a/drivers/misc/spear13xx_pcie_gadget.c
+++ b/drivers/misc/spear13xx_pcie_gadget.c
@@ -787,8 +787,8 @@ static int __devinit spear_pcie_gadget_probe(struct platform_device *pdev)
787 787
788 status = request_irq(irq, spear_pcie_gadget_irq, 0, pdev->name, NULL); 788 status = request_irq(irq, spear_pcie_gadget_irq, 0, pdev->name, NULL);
789 if (status) { 789 if (status) {
790 dev_err(&pdev->dev, "pcie gadget interrupt IRQ%d already \ 790 dev_err(&pdev->dev,
791 claimed\n", irq); 791 "pcie gadget interrupt IRQ%d already claimed\n", irq);
792 goto err_iounmap; 792 goto err_iounmap;
793 } 793 }
794 794