linux-stable/drivers/net/can/m_can
Oliver Hartkopp 69d98969a0 can: rename get_can_dlc() macro with can_cc_dlc2len()
The get_can_dlc() macro is used to ensure the payload length information of
the Classical CAN frame to be max 8 bytes (the CAN_MAX_DLEN).

Rename the macro and use the correct constant in preparation of the len/dlc
cleanup for Classical CAN frames.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://lore.kernel.org/r/20201110101852.1973-3-socketcan@hartkopp.net
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2020-11-20 09:43:29 +01:00
..
Kconfig can: tcan4x5x: replace depends on REGMAP_SPI with depends on SPI 2020-11-15 18:24:36 +01:00
Makefile can: tcan4x5x: Add tcan4x5x driver to the kernel 2019-07-24 10:31:54 +02:00
m_can.c can: rename get_can_dlc() macro with can_cc_dlc2len() 2020-11-20 09:43:29 +01:00
m_can.h can: m_can: m_can_class_free_dev(): introduce new function 2020-11-15 18:33:42 +01:00
m_can_platform.c can: m_can: Fix freeing of can device from peripherials 2020-11-15 18:33:45 +01:00
tcan4x5x.c can: m_can: Fix freeing of can device from peripherials 2020-11-15 18:33:45 +01:00