drivers: can: stm32: remove can_get_max_filters() support for now
Remove support for the optional API function can_get_max_filters() from the STM32 bxCAN driver for now. The function returns the Kconfig value for the maximum number of filters but the true number of supported filters may be different due to the filter nature of the STM32 bxCAN driver implementation. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
38ee953547
commit
085ee2b0b8
1 changed files with 0 additions and 8 deletions
|
@ -460,13 +460,6 @@ static int can_stm32_get_core_clock(const struct device *dev, uint32_t *rate)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int can_stm32_get_max_filters(const struct device *dev, enum can_ide id_type)
|
||||
{
|
||||
ARG_UNUSED(id_type);
|
||||
|
||||
return CONFIG_CAN_MAX_FILTER;
|
||||
}
|
||||
|
||||
static int can_stm32_get_max_bitrate(const struct device *dev, uint32_t *max_bitrate)
|
||||
{
|
||||
const struct can_stm32_config *config = dev->config;
|
||||
|
@ -1156,7 +1149,6 @@ static const struct can_driver_api can_api_funcs = {
|
|||
#endif
|
||||
.set_state_change_callback = can_stm32_set_state_change_callback,
|
||||
.get_core_clock = can_stm32_get_core_clock,
|
||||
.get_max_filters = can_stm32_get_max_filters,
|
||||
.get_max_bitrate = can_stm32_get_max_bitrate,
|
||||
.timing_min = {
|
||||
.sjw = 0x1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue