drivers: fix style issues
Fix issues reported by checkpatch. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
b768fb6f94
commit
8398105d82
7 changed files with 25 additions and 24 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue