can: kvaser_usb: Improve logging messages
authorJimmy Assarsson <extja@kvaser.com>
Wed, 18 Jul 2018 21:29:25 +0000 (23:29 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 27 Jul 2018 08:40:19 +0000 (10:40 +0200)
commit6ba0b9294bca0fca727198a9660771d06823cf1a
tree080d7cecc4e7f1f22ebbd0269832cf21d7226176
parent7c47801461777c8cb473cca65202a60b99657313
can: kvaser_usb: Improve logging messages

Replace dev->udev->dev.parent with &dev->intf->dev, when it is the
first argument passed to dev_* logging function call.

This will result in:
kvaser_usb 1-2:1.0: Format error
compared to
usb 1-2: Format error

Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/kvaser_usb.c