drivers: can: stm32fd: rename CONFIG_CAN_STM32_CLOCK_DIVISOR

Rename CONFIG_CAN_STM32_CLOCK_DIVISOR to
CONFIG_CAN_STM32FD_CLOCK_DIVISOR to match driver Kconfig name.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-04-20 15:14:58 +02:00 committed by Carles Cufí
commit 45d4909024
2 changed files with 14 additions and 8 deletions

View file

@ -52,8 +52,9 @@ config CAN_STM32FD_CLOCK_SOURCE_PCLK1
endchoice
config CAN_STM32_CLOCK_DIVISOR
config CAN_STM32FD_CLOCK_DIVISOR
int "CAN clock divisor"
depends on CAN_STM32FD_CLOCK_SOURCE_PCLK1
range 1 30
default 1
help
@ -62,4 +63,4 @@ config CAN_STM32_CLOCK_DIVISOR
Note that the the divisor affects all CAN controllers.
Allowed values: 1 or 2 * n, where n <= 15.
endif #CAN_STM32FD
endif # CAN_STM32FD