Commit fd83ef8f authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

media: rkisp1: Drop parentheses and fix indentation in rkisp1_probe()

Fix a small indentation issue to increase code readability, and drop
unneeded parentheses.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarRicardo Ribalda <ribalda@chromium.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 34098a83
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment