Skip to contentSkip to conversation

staging: rtl8723bs: Fix spacing around ternary operator in sdio_intf.c

PATCH New Amin Madani 1 participant 1 message Jul 15 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: Fix spacing around ternary operator in sdio_intf.c

Add spaces around '?' and ':' in the return statement in sdio_intf.c according to the Linux kernel coding style.

---
 drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/os_dep/sdio_intf.c +1 -1
index c43a0391a..5a257b38a 100644
@@ -78,7 +78,7 @@ static int sdio_alloc_irq(struct dvobj_priv *dvobj)
 
 	sdio_release_host(func);
 
-	return err?_FAIL:_SUCCESS;
+	return err ? _FAIL : _SUCCESS;
 }
 
 static void sdio_free_irq(struct dvobj_priv *dvobj)
Signature · 1 line
2.53.0