mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 23:20:05 +00:00
serial: samsung: correct the case and default order in switch
The cases should comes before default in a switch. Even if we want the case and default to share same code. Its good to define the case first followed by default. Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
135f07c325
commit
3bcce591aa
@ -1542,8 +1542,8 @@ s3c24xx_serial_get_options(struct uart_port *port, int *baud,
|
||||
case S3C2410_LCON_CS7:
|
||||
*bits = 7;
|
||||
break;
|
||||
default:
|
||||
case S3C2410_LCON_CS8:
|
||||
default:
|
||||
*bits = 8;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user