driver core: fix a lot of printk usages of bus_id
[safe/jmp/linux-2.6] / drivers / base / power / trace.c
index 9b1b20b..2aa6e8f 100644 (file)
@@ -194,7 +194,7 @@ static int show_dev_hash(unsigned int value)
                struct device * dev = to_device(entry);
                unsigned int hash = hash_string(DEVSEED, dev->bus_id, DEVHASH);
                if (hash == value) {
-                       printk("  hash matches device %s\n", dev->bus_id);
+                       dev_info(dev, "hash matches\n");
                        match++;
                }
                entry = entry->prev;