i2c: uniphier: add "\n" at the end of error log
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 21 Apr 2016 06:12:44 +0000 (15:12 +0900)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 27 Apr 2016 17:09:04 +0000 (19:09 +0200)
Just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-uniphier-f.c
drivers/i2c/busses/i2c-uniphier.c

index 213ba55e17c3a35bfe9faacc9155a3f8072b2899..aeead0d27d1007ead1ac78429aa9491c1613ae8d 100644 (file)
@@ -524,7 +524,7 @@ static int uniphier_fi2c_probe(struct platform_device *pdev)
 
        irq = platform_get_irq(pdev, 0);
        if (irq < 0) {
-               dev_err(dev, "failed to get IRQ number");
+               dev_err(dev, "failed to get IRQ number\n");
                return irq;
        }
 
index 89eaa8a7e1e01578a4ee27f322a8cbfe75abf5e8..475a5eb514e2153fec01a55c294fd0930110cb6a 100644 (file)
@@ -381,7 +381,7 @@ static int uniphier_i2c_probe(struct platform_device *pdev)
 
        irq = platform_get_irq(pdev, 0);
        if (irq < 0) {
-               dev_err(dev, "failed to get IRQ number");
+               dev_err(dev, "failed to get IRQ number\n");
                return irq;
        }