diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-01-20 04:17:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-24 23:46:56 +0100 |
commit | 820c629a595ad8d8f2694641e494738b18d29e7b (patch) | |
tree | fe6a1aea5e3f6c9185199826b2203bad9b5c0966 /drivers/usb/host | |
parent | USB: cdc-wdm: Avoid hanging on interface with no USB_CDC_DMM_TYPE (diff) | |
download | linux-820c629a595ad8d8f2694641e494738b18d29e7b.tar.xz linux-820c629a595ad8d8f2694641e494738b18d29e7b.zip |
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>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions