can: peak_usb: align CAN channel ID format in log with sysfs attribute
authorLukas Magel <lukas.magel@posteo.net>
Mon, 16 Jan 2023 20:09:31 +0000 (20:09 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 2 Feb 2023 16:39:27 +0000 (17:39 +0100)
commit09ce908e50c9ee43732015c36c32b18efe7b9ab6
treeeb170a5a985b41a0894482ff089f0a31b02d11cf
parent6d02f6daeb44c0099ace2e3597d56420eecfaeb2
can: peak_usb: align CAN channel ID format in log with sysfs attribute

Previously, the CAN channel ID was printed to the kernel log in decimal
upon connecting a new PEAK device. This behavior is inconsistent with
the hexadecimal format of the CAN channel ID sysfs attribute. This patch
updates the log message to output the id in hexadecimal.

Signed-off-by: Lukas Magel <lukas.magel@posteo.net>
Link: https://lore.kernel.org/all/20230116200932.157769-8-lukas.magel@posteo.net
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb_core.c