USB: cdc-wdm: avoid printing odd-looking "cdc-wdm-176" names
authorBjørn Mork <bjorn@mork.no>
Fri, 20 Jan 2012 03:17:25 +0000 (04:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Jan 2012 22:46:56 +0000 (14:46 -0800)
commit820c629a595ad8d8f2694641e494738b18d29e7b
treefe6a1aea5e3f6c9185199826b2203bad9b5c0966
parent7e3054a005537f28544ab2870c375458362f7473
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 <bjorn@mork.no>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-wdm.c