]> git.baikalelectronics.ru Git - kernel.git/commit
can: bittiming: mark function arguments and local variables as const
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 13 Jan 2022 14:34:07 +0000 (15:34 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 24 Feb 2022 07:26:03 +0000 (08:26 +0100)
commit8af0e39c4762978207742cbb1fe9209488b25ba3
tree71bb59dadd124bd3400e4e2cfb162f4e2ac14fdb
parentf757e1478115fe208f3d80027b04dc8e4b92e6e6
can: bittiming: mark function arguments and local variables as const

This patch marks the arguments of some functions as well as some local
variables as constant.

Link: https://lore.kernel.org/all/20220124215642.3474154-7-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev/bittiming.c
include/linux/can/bittiming.h