]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/core/device.c
dm: core: Add \n to two dm_warn() messages
[karo-tx-uboot.git] / 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;
        }