drivers: fix style issues

Fix issues reported by checkpatch.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-01-18 18:21:55 +01:00 committed by Carles Cufí
commit 8398105d82
7 changed files with 25 additions and 24 deletions

View file

@ -95,6 +95,7 @@ static int usart_sam_init(const struct device *dev)
static int usart_sam_poll_in(const struct device *dev, unsigned char *c) static int usart_sam_poll_in(const struct device *dev, unsigned char *c)
{ {
const struct usart_sam_dev_cfg *config = dev->config; const struct usart_sam_dev_cfg *config = dev->config;
Usart * const usart = config->regs; Usart * const usart = config->regs;
if (!(usart->US_CSR & US_CSR_RXRDY)) { if (!(usart->US_CSR & US_CSR_RXRDY)) {