The loop in lists_bind_fdt uses an indented style for log messages
within the loop and normal messages for errors that lead to the exit of
the function. Due to the change of the previous patch that adds support
for continuation on -ENODEV returned by bind, the log message should be
indented.

Signed-off-by: Markus Schneider-Pargmann (TI) <[email protected]>
---
 drivers/core/lists.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/core/lists.c b/drivers/core/lists.c
index 
813c3de52b23d78528686a7a8d9ecbe8cab62efd..2545dc142f6bc3d01dca1e0618055a64978734f3
 100644
--- a/drivers/core/lists.c
+++ b/drivers/core/lists.c
@@ -266,7 +266,7 @@ int lists_bind_fdt(struct udevice *parent, ofnode node, 
struct udevice **devp,
                                                           id ? id->data : 0, 
node,
                                                           &dev);
                        if (!drv && ret == -ENODEV) {
-                               log_debug("Driver '%s' refuses to bind\n", 
entry->name);
+                               log_debug("   - Driver '%s' refuses to bind\n", 
entry->name);
                                continue;
                        }
                        if (ret) {

-- 
2.51.0

Reply via email to