USB: Convert concatenated __FILE__ to %s, __FILE__

Reduces string space a bit
Neaten a macro redefine of dbg

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Joe Perches 2010-02-05 17:51:13 -08:00 committed by Greg Kroah-Hartman
parent 759f363426
commit f45ba776da
11 changed files with 41 additions and 39 deletions

View file

@ -798,7 +798,7 @@ static int __init ld_usb_init(void)
/* register this driver with the USB subsystem */
retval = usb_register(&ld_usb_driver);
if (retval)
err("usb_register failed for the "__FILE__" driver. Error number %d\n", retval);
err("usb_register failed for the %s driver. Error number %d\n", __FILE__, retval);
return retval;
}