linux/drivers/net/can/usb/peak_usb
Marc Kleine-Budde bd573ea572 can: peak_usb: pcan_usb: replace open coded endianness conversion of unaligned data
This patch replaces the open coded endianness conversion of unaligned
data by the appropriate get/put_unaligned_leXX() variants.

Link: https://lore.kernel.org/r/20210406111622.1874957-11-mkl@pengutronix.de
Acked-by: Stephane Grosjean <s.grosjean@peak-system.com>
Tested-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2021-04-13 10:15:44 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
pcan_usb_core.c can: peak_usb: peak_usb_probe(): make use of driver_info 2021-04-13 10:15:43 +02:00
pcan_usb_core.h can: peak_usb: remove write only variable struct peak_usb_adapter::ts_period 2021-04-13 10:15:43 +02:00
pcan_usb_fd.c can: peak_usb: remove write only variable struct peak_usb_adapter::ts_period 2021-04-13 10:15:43 +02:00
pcan_usb_pro.c can: peak_usb: pcan_usb_{,pro}_get_device_id(): remove unneeded check for device_id 2021-04-13 10:15:43 +02:00
pcan_usb_pro.h can: peak_usb: pcan_usb_pro.h: remove double space in indention 2021-04-13 10:15:43 +02:00
pcan_usb.c can: peak_usb: pcan_usb: replace open coded endianness conversion of unaligned data 2021-04-13 10:15:44 +02:00