]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
can: calc_bittiming: replace misleading "nominal" by "reference"
authorVincent Mailhol <mailhol@kernel.org>
Wed, 26 Nov 2025 10:16:13 +0000 (11:16 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 26 Nov 2025 10:20:44 +0000 (11:20 +0100)
commit1d147cb7c51d6e994ba740709072adf270d7b878
tree9d80cdb9a5030e24ea2a83b4fea32c106a277c7d
parent46552323fa6779beb1ea558254dfd56021174c93
can: calc_bittiming: replace misleading "nominal" by "reference"

The functions can_update_sample_point() and can_calc_bittiming() are
generic and meant to be used for both the nominal and the data bittiming
calculation.

However, those functions use misleading terminologies such as "bitrate
nominal" or "sample point nominal". Replace all places where the word
"nominal" appears with "reference" in order to better distinguish it from
the calculated values.

Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://patch.msgid.link/20251126-canxl-v8-12-e7e3eb74f889@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev/calc_bittiming.c