Skip to content
Commit 89cfa635 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

can: bittiming(): replace open coded variants of can_bit_time()

Commit 1c47fa6b

 ("can: dev: add a helper function to calculate the
duration of one bit") added the helper function can_bit_time().

Replace open coded variants of can_bit_time() by the helper function.

Link: https://lore.kernel.org/all/20230202110854.2318594-2-mkl@pengutronix.de
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 36207c34
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment