| commit | 8eded2f76b7e92b5c4d955c6536fd365ab40809c | [log] [tgz] |
|---|---|---|
| author | Henrik Brix Andersen <hebad@vestas.com> | Mon Apr 08 11:44:04 2024 +0200 |
| committer | Anas Nashif <anas.nashif@intel.com> | Thu Apr 11 17:08:35 2024 -0400 |
| tree | 927f90e3dffc402ee9a44e6844f043d52884d023 | |
| parent | be54b552d7d3bdf2f2045bfe3348ae05d835b68d [diff] |
drivers: can: add can_get_bitrate_{min,max}(), deprecate existing APIs
Since the minimum/maximum supported bitrates are now stored in the common
CAN controller driver configuration struct, retrieving these can no longer
fail.
Add new CAN controller API functions can_get_bitrate_min() and
can_get_bitrate_max() reflecting this and deprecate the existing
can_get_min_bitrate() and can_get_max_bitrate().
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>