aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-12-19 10:17:37 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2022-02-24 08:26:03 +0100
commit5b60d334e42a37febfd284bd388e526fcddce02a (patch)
tree38b2de39ca1fa38fa5f79e1fcc89270f3c561873 /include
parentcan: gw: use call_rcu() instead of costly synchronize_rcu() (diff)
downloadlinux-dev-5b60d334e42a37febfd284bd388e526fcddce02a.tar.xz
linux-dev-5b60d334e42a37febfd284bd388e526fcddce02a.zip
can: bittiming: can_validate_bitrate(): simplify bit rate checking
This patch simplifies the validation of the fixed bit rates. If a supported bit rate is found, directly return 0. If no valid bit rate is found return -EINVAL; Link: https://lore.kernel.org/all/20220124215642.3474154-6-mkl@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions