This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: rkisp1: Drop parentheses and fix indentation in rkisp1_probe()
Author:  Laurent Pinchart <[email protected]>
Date:    Sun Feb 27 20:56:16 2022 +0000

Fix a small indentation issue to increase code readability, and drop
unneeded parentheses.

Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Ricardo Ribalda <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

---

diff --git a/drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c 
b/drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
index c7ad1986e67b..97d569968285 100644
--- a/drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
+++ b/drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
@@ -486,9 +486,9 @@ static int rkisp1_probe(struct platform_device *pdev)
                return PTR_ERR(rkisp1->base_addr);
 
        for (i = 0; i < match_data->isr_size; i++) {
-               irq = (match_data->isrs[i].name) ?
-                               platform_get_irq_byname(pdev, 
match_data->isrs[i].name) :
-                               platform_get_irq(pdev, i);
+               irq = match_data->isrs[i].name
+                   ? platform_get_irq_byname(pdev, match_data->isrs[i].name)
+                   : platform_get_irq(pdev, i);
                if (irq < 0)
                        return irq;
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to