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)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:38 +0000 (17:39 -0600)
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;
        }