]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: core: Add \n to two dm_warn() messages
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2015 22:47:40 +0000 (16:47 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:57 +0000 (13:48 +0200)
These should finish with a newline like the others.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c

index 03cd964b80806972cb02118d4e9dd8bf60b22100..51b1b44e5b0a0834942fbce69e74a0ff9592fcec 100644 (file)
@@ -329,7 +329,7 @@ void *dev_get_platdata(struct udevice *dev)
 void *dev_get_parent_platdata(struct udevice *dev)
 {
        if (!dev) {
-               dm_warn("%s: null device", __func__);
+               dm_warn("%s: null device\n", __func__);
                return NULL;
        }
 
@@ -339,7 +339,7 @@ void *dev_get_parent_platdata(struct udevice *dev)
 void *dev_get_uclass_platdata(struct udevice *dev)
 {
        if (!dev) {
-               dm_warn("%s: null device", __func__);
+               dm_warn("%s: null device\n", __func__);
                return NULL;
        }