aboutsummaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorMarc Kleine-Budde2023-01-31 17:37:39 +0100
committerMarc Kleine-Budde2023-02-06 13:57:25 +0100
commit9cf670dbe69d11c6f29284aa80d78741f038ecd4 (patch)
treebd0d43628c6a8930b6877f31ac91ef14b3578026 /MAINTAINERS
parent89cfa63565606bf462b4fdc0bd3e91a7cece1380 (diff)
can: bittiming: can_fixup_bittiming(): use CAN_SYNC_SEG instead of 1
Commit 1c47fa6b31c2 ("can: dev: add a helper function to calculate the duration of one bit") made the constant CAN_SYNC_SEG available in a header file. The magic number 1 in can_fixup_bittiming() represents the width of the sync segment, replace it by CAN_SYNC_SEG to make the code more readable. Link: https://lore.kernel.org/all/20230202110854.2318594-3-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions