Skip to contentSkip to conversation

mmc: fix white space around call to request_irq

PATCH New Tobin C. Harding 1 participant 1 message Oct 30, 2017 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: fix white space around call to request_irq

Currently call to request_irq() contains a line break between the function call and the assignment variable. This gives false positives when attempting to audit (grep) kernel code for correct handling of return value for the function. We can save future developers some time by removing the line break. This arguably makes the code a little cleaner also.

Remove line break from between function call and return value assignment.

---
 drivers/mmc/host/via-sdmmc.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/mmc/host/via-sdmmc.c +2 -3
index a838bf5480d8..9b9a447f26fe 100644
@@ -1144,9 +1144,8 @@ static int via_sd_probe(struct pci_dev *pcidev,
 
 	via_init_mmc_host(sdhost);
 
-	ret =
-	    request_irq(pcidev->irq, via_sdc_isr, IRQF_SHARED, DRV_NAME,
-			sdhost);
+	ret = request_irq(pcidev->irq, via_sdc_isr, IRQF_SHARED,
+			  DRV_NAME, sdhost);
 	if (ret)
 		goto unmap;
 
Signature · 1 line
2.7.4