Message ID | 20240110102102.61587-9-tudor.ambarus@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 048dc68709a0c7ed80f327d4b7ff5af7461107e3 |
Headers | show |
Series | serial: samsung: gs101 updates and winter cleanup | expand |
On Wed, Jan 10, 2024 at 4:23 AM Tudor Ambarus <tudor.ambarus@linaro.org> wrote: > > Move open brace '{' following function definition on the next line. > > Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> > --- Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> > drivers/tty/serial/samsung_tty.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c > index 11ae3a1dcdc3..b9d1ef67468c 100644 > --- a/drivers/tty/serial/samsung_tty.c > +++ b/drivers/tty/serial/samsung_tty.c > @@ -1740,7 +1740,8 @@ static struct uart_driver s3c24xx_uart_drv = { > > static struct s3c24xx_uart_port s3c24xx_serial_ports[UART_NR]; > > -static void s3c24xx_serial_init_port_default(int index) { > +static void s3c24xx_serial_init_port_default(int index) > +{ > struct uart_port *port = &s3c24xx_serial_ports[index].port; > > spin_lock_init(&port->lock); > -- > 2.43.0.472.g3155946c3a-goog > >
diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index 11ae3a1dcdc3..b9d1ef67468c 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -1740,7 +1740,8 @@ static struct uart_driver s3c24xx_uart_drv = { static struct s3c24xx_uart_port s3c24xx_serial_ports[UART_NR]; -static void s3c24xx_serial_init_port_default(int index) { +static void s3c24xx_serial_init_port_default(int index) +{ struct uart_port *port = &s3c24xx_serial_ports[index].port; spin_lock_init(&port->lock);
Move open brace '{' following function definition on the next line. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> --- drivers/tty/serial/samsung_tty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)