drivers/base/dd.c incorrect pr_debug() parameters
authorFrank Rowand <frowand.list@gmail.com>
Thu, 17 Apr 2014 00:12:30 +0000 (17:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Apr 2014 02:34:46 +0000 (19:34 -0700)
pr_debug() parameters are reverse order of format string

Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c

index 0605176..8986b9f 100644 (file)
@@ -187,8 +187,8 @@ static void driver_bound(struct device *dev)
                return;
        }
 
-       pr_debug("driver: '%s': %s: bound to device '%s'\n", dev_name(dev),
-                __func__, dev->driver->name);
+       pr_debug("driver: '%s': %s: bound to device '%s'\n", dev->driver->name,
+                __func__, dev_name(dev));
 
        klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices);