diff options
-rw-r--r-- | drivers/of/base.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index 128e114f9210..5e04572e692a 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1566,9 +1566,12 @@ void of_print_phandle_args(const char *msg, const struct of_phandle_args *args) { int i; printk("%s %s", msg, of_node_full_name(args->np)); - for (i = 0; i < args->args_count; i++) - printk(i ? ",%08x" : ":%08x", args->args[i]); - printk("\n"); + for (i = 0; i < args->args_count; i++) { + const char delim = i ? ',' : ':'; + + pr_cont("%c%08x", delim, args->args[i]); + } + pr_cont("\n"); } int of_phandle_iterator_init(struct of_phandle_iterator *it, |