summaryrefslogtreecommitdiff
path: root/drivers/core/device.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-06 22:47:40 (GMT)
committerSimon Glass <sjg@chromium.org>2015-07-21 23:39:38 (GMT)
commit36d7cc17bdb7678c12df52e015155ed64f4de1e7 (patch)
tree709d6f7b233e2ab596ce49f9964b4018a1656663 /drivers/core/device.c
parent09e7ea47e7a8c45391243a817efdfcfefd76bd68 (diff)
downloadu-boot-36d7cc17bdb7678c12df52e015155ed64f4de1e7.tar.xz
dm: core: Add \n to two dm_warn() messages
These should finish with a newline like the others. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core/device.c')
-rw-r--r--drivers/core/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/core/device.c b/drivers/core/device.c
index 03cd964..51b1b44 100644
--- a/drivers/core/device.c
+++ b/drivers/core/device.c
@@ -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;
}