USB: serial: xr: use subsystem usb_device at probe
authorJohan Hovold <johan@kernel.org>
Thu, 21 Jan 2021 10:29:15 +0000 (11:29 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 26 Jan 2021 15:16:48 +0000 (16:16 +0100)
commit9ffa6ec51ce8595ffaa5a634bd5618e129d038c0
tree96b139cb97f39e856db75e5b5ba8f58d3ada5416
parent54c98d9d7ba48c66d64f72e3d5a7586601705611
USB: serial: xr: use subsystem usb_device at probe

Use the subsystem struct usb_device pointer at probe instead of
deriving it from the interface pointer.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/xr_serial.c