Fix a small indentation issue to increase code readability, and drop
unneeded parentheses.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
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;