linux-xiaomi-chiron/drivers/net/can/usb
Vincent Mailhol 2ae9856d70 can: etas_es58x: use BITS_PER_TYPE() instead of manual calculation
The input to the GENMASK() macro was calculated by hand. Replaced it
with a dedicated macro: BITS_PER_TYPE() which does the exact same job.

Link: https://lore.kernel.org/all/20220212130737.3008-1-mailhol.vincent@wanadoo.fr
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2022-02-24 08:26:04 +01:00
..
etas_es58x can: etas_es58x: use BITS_PER_TYPE() instead of manual calculation 2022-02-24 08:26:04 +01:00
kvaser_usb can: kvaser_usb: kvaser_usb_send_cmd(): remove redundant variable actual_len 2022-02-24 08:26:04 +01:00
peak_usb can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
ems_usb.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
esd_usb2.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
gs_usb.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-01-09 17:00:17 -08:00
Kconfig can: kvaser_usb: Add new Kvaser hydra devices 2021-05-27 09:42:23 +02:00
Makefile can: etas_es58x: add core support for ETAS ES58X CAN USB interfaces 2021-04-13 10:15:42 +02:00
mcba_usb.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
ucan.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00
usb_8dev.c can: do not increase tx_bytes statistics for RTR frames 2022-01-05 12:09:05 +01:00