Skip to content

Commit c93648d

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 2b0b3f0 commit c93648d

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
@@ -656,7 +656,7 @@ static void sbd_release_port(struct uart_port *uport)
656656
iounmap(uport->membase);
657657
uport->membase = NULL;
658658

659-
if(refcount_dec_and_test(&duart->map_guard))
659+
if (refcount_dec_and_test(&duart->map_guard))
660660
release_mem_region(duart->mapctrl, DUART_CHANREG_SPACING);
661661
release_mem_region(uport->mapbase, uport->mapsize);
662662
}

0 commit comments

Comments
 (0)