Skip to content

Commit 12925ff

Browse files
committed
drivers: tty: serial: sb1250-duart: fix formatting error
checkpatch complains: ERROR: space required before the open parenthesis '(' torvalds#659: FILE: drivers/tty/serial/sb1250-duart.c:659: + if(refcount_dec_and_test(&duart->map_guard)) Just add this missing space to make checkpatch happy. Signed-off-by: Enrico Weigelt <[email protected]>
1 parent 932202a commit 12925ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/sb1250-duart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ static void sbd_release_port(struct uart_port *uport)
651651
iounmap(uport->membase);
652652
uport->membase = NULL;
653653

654-
if(refcount_dec_and_test(&duart->map_guard))
654+
if (refcount_dec_and_test(&duart->map_guard))
655655
release_mem_region(duart->mapctrl, DUART_CHANREG_SPACING);
656656
release_mem_region(uport->mapbase, uport->mapsize);
657657
}

0 commit comments

Comments
 (0)