Skip to content
Commit dadcd398 authored by Johan Hovold's avatar Johan Hovold Committed by Marc Kleine-Budde
Browse files

can: peak_usb: fix product-id endianness in error message



Make sure to use the USB device product-id stored in host-byte order in
a probe error message.

Also remove a redundant reassignment of the local usb_dev variable which
had already been used to retrieve the product id.

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent f2a918b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment