linux/drivers/net/can/m_can
Oliver Hartkopp c7b7496779 can: replace can_dlc as variable/element for payload length
The naming of can_dlc as element of struct can_frame and also as variable
name is misleading as it claims to be a 'data length CODE' but in reality
it always was a plain data length.

With the indroduction of a new 'len' element in struct can_frame we can now
remove can_dlc as name and make clear which of the former uses was a plain
length (-> 'len') or a data length code (-> 'dlc') value.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://lore.kernel.org/r/20201120100444.3199-1-socketcan@hartkopp.net
[mkl: gs_usb: keep struct gs_host_frame::can_dlc as is]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2020-11-20 12:04:12 +01:00
..
Kconfig can: tcan4x5x: replace depends on REGMAP_SPI with depends on SPI 2020-11-15 18:24:36 +01:00
m_can_platform.c can: m_can: Fix freeing of can device from peripherials 2020-11-15 18:33:45 +01:00
m_can.c can: replace can_dlc as variable/element for payload length 2020-11-20 12:04:12 +01:00
m_can.h can: m_can: m_can_class_free_dev(): introduce new function 2020-11-15 18:33:42 +01:00
Makefile can: tcan4x5x: Add tcan4x5x driver to the kernel 2019-07-24 10:31:54 +02:00
tcan4x5x.c can: m_can: Fix freeing of can device from peripherials 2020-11-15 18:33:45 +01:00