cdc-acm: avoid interface_to_usbdev call
authorLadislav Michl <ladis@linux-mips.org>
Fri, 18 Nov 2016 18:06:10 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Nov 2016 10:36:15 +0000 (11:36 +0100)
commite46146069bf60bb2b5c135bb132a1c0d1f905f4a
tree7199eeefccf25fa2fe69c5fa5239f6abc0ef8266
parent90744af8b04bf05d8231c1e8c822d2f44cb2d391
cdc-acm: avoid interface_to_usbdev call

Pointer to usb_device is already stored in acm structure.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c