]> err.no Git - linux-2.6/commit
[PATCH] Driver Core: Make dev_info and friends print the bus name if there is no...
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 16 Jun 2006 21:10:48 +0000 (17:10 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 19:40:49 +0000 (12:40 -0700)
commit3e95637a48820ff8bedb33e6439def96ccff1de5
tree69930bc984892d68574e3623a0cbd88928fa6d06
parente9a7d305faec364ba973d6c22c9b1e802ef79204
[PATCH] Driver Core: Make dev_info and friends print the bus name if there is no driver

This patch (as721) makes dev_info and related macros print the device's
bus name if the device doesn't have a driver, instead of printing just a
blank.  If the device isn't on a bus either... well, then it does leave
a blank space.  But it will be easier for someone else to change if they
want.

Cc: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c
include/linux/device.h