of/flattree: Drop an uninteresting message to pr_debug level
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 14 Feb 2011 21:34:22 +0000 (22:34 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 2 Mar 2011 20:45:18 +0000 (13:45 -0700)
This message looks like an error (which it isn't) when booting with a
flattened device tree.  Remove the message from normal kernel builds.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
fs/proc/proc_devtree.c

index d9396a4fc7ff2dc209269e70fe7170d07eb1f5bb..927cbd115e532857936a0ddc4d51de14149a37b7 100644 (file)
@@ -233,7 +233,7 @@ void __init proc_device_tree_init(void)
                return;
        root = of_find_node_by_path("/");
        if (root == NULL) {
-               printk(KERN_ERR "/proc/device-tree: can't find root\n");
+               pr_debug("/proc/device-tree: can't find root\n");
                return;
        }
        proc_device_tree_add_node(root, proc_device_tree);