Skip to content
Commit 3b454400 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Carles Cufí
Browse files

scripts/checkpatch: typdefsfile: Derogate on STM32Cube CMSIS *_TypeDef



Add a derogation to checkpatch's 'SPACING' rule, which randomly returns
the following type of issue when STM32Cube HAL *_TypeDef are used:

-:10: ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#10: FILE: drivers/adc/adc_stm32.c:806:
+	ADC_TypeDef *adc = config->base;

This derogation applies to all _TypDef structures defined in STM32Cube
CMSIS descriptions:
FMC_Bank1E_6_TypeDef
DMA_Channel_TypeDef
ADC_TypeDef

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent bc72fb67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment