diff options
| author | Oliver Hartkopp <[email protected]> | 2014-02-28 16:36:21 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2014-03-07 09:18:21 +0100 |
| commit | d5298dffebae76810a6a942bc6467f893bc11eee (patch) | |
| tree | 7f9ccb872c6e0f2415595d8ea602121634f1a1df /include/linux | |
| parent | b30749fdfb9b72f4b1f03673cb5e45b8d4331188 (diff) | |
can: move sanity check for bitrate and tq into can_get_bittiming
This patch moves a sanity check in order to have a second user for CAN FD.
Also simplify the return value generation in can_get_bittiming() as only
correct return values of can_[calc|fixup]_bittiming() lead to a return value of
zero.
Signed-off-by: Oliver Hartkopp <[email protected]>
Acked-by: Stephane Grosjean <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions