Skip to contentSkip to conversation

Subject: staging: fix alignment in function call

PATCH In review Dorine Tipo 2 participants 2 messages Oct 30, 2023 – Nov 27, 2023 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Subject: staging: fix alignment in function call

- Fix alignment in the tty_alloc_driver function call

The alignment in the code did not match the open parenthesis. This commit corrects the alignment to match the open parenthesis for better code readability.

---
 drivers/staging/gdm724x/gdm_tty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/gdm724x/gdm_tty.c +1 -1
index 15c246d3b1a3..b62e5e73905e 100644
@@ -273,7 +273,7 @@ int register_lte_tty_driver(void)
 
 	for (i = 0; i < TTY_MAX_COUNT; i++) {
 		tty_driver = tty_alloc_driver(GDM_TTY_MINOR,
-				TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV);
+					      TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV);
 		if (IS_ERR(tty_driver))
 			return PTR_ERR(tty_driver);
 
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 10 lines · Dorine Tipo

- Fix alignment in the tty_alloc_driver function call

The alignment in the code did not match the open parenthesis. This commit corrects the alignment to match the open parenthesis for better code readability.

---
 drivers/staging/gdm724x/gdm_tty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

This was missed as it never was sent to the public mailing list :(