From: Bjørn Mork Date: Fri, 20 Jan 2012 03:17:25 +0000 (+0100) Subject: USB: cdc-wdm: avoid printing odd-looking "cdc-wdm-176" names X-Git-Tag: v3.4-rc1~184^2~22^2~121^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=820c629a595ad8d8f2694641e494738b18d29e7b;p=pandora-kernel.git USB: cdc-wdm: avoid printing odd-looking "cdc-wdm-176" names usb_register_dev() will change our .minor_base to 0 if CONFIG_USB_DYNAMIC_MINORS is set. And it usually is, of course. Use dev_name() to print the proper interface name instead Signed-off-by: Bjørn Mork Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed