Commit e3d21cbf authored by Kaaira Gupta's avatar Kaaira Gupta Committed by Greg Kroah-Hartman

staging: media: allegro: align with parenthesis

Align the lines of allegro-core.c with open parenthesis by giving proper
tabs and thereby fix checkpatch.pl warnings of matching alignment with
open parenthesis. Do it only for lines where character limit doesn't
exceed 80 characters.
Signed-off-by: default avatarKaaira Gupta <kgupta@es.iitr.ac.in>
Reviewed-by: default avatarStefano Brivio <sbrivio@redhat.com>
Link: https://lore.kernel.org/r/20200313215406.2485-2-kgupta@es.iitr.ac.inSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 081188ec
...@@ -2324,10 +2324,10 @@ static int allegro_open(struct file *file) ...@@ -2324,10 +2324,10 @@ static int allegro_open(struct file *file)
0, ALLEGRO_GOP_SIZE_MAX, 0, ALLEGRO_GOP_SIZE_MAX,
1, channel->gop_size); 1, channel->gop_size);
v4l2_ctrl_new_std(handler, v4l2_ctrl_new_std(handler,
&allegro_ctrl_ops, &allegro_ctrl_ops,
V4L2_CID_MIN_BUFFERS_FOR_OUTPUT, V4L2_CID_MIN_BUFFERS_FOR_OUTPUT,
1, 32, 1, 32,
1, 1); 1, 1);
channel->fh.ctrl_handler = handler; channel->fh.ctrl_handler = handler;
channel->mcu_channel_id = -1; channel->mcu_channel_id = -1;
...@@ -2933,8 +2933,8 @@ static int allegro_probe(struct platform_device *pdev) ...@@ -2933,8 +2933,8 @@ static int allegro_probe(struct platform_device *pdev)
return -EINVAL; return -EINVAL;
} }
sram_regs = devm_ioremap(&pdev->dev, sram_regs = devm_ioremap(&pdev->dev,
sram_res->start, sram_res->start,
resource_size(sram_res)); resource_size(sram_res));
if (IS_ERR(sram_regs)) { if (IS_ERR(sram_regs)) {
dev_err(&pdev->dev, "failed to map sram\n"); dev_err(&pdev->dev, "failed to map sram\n");
return PTR_ERR(sram_regs); return PTR_ERR(sram_regs);
......
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