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: Kaaira Gupta <kgupta@es.iitr.ac.in> Reviewed-by: Stefano Brivio <sbrivio@redhat.com> Link: https://lore.kernel.org/r/20200313215406.2485-2-kgupta@es.iitr.ac.in Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
081188ecad
commit
e3d21cbfa9
1 changed files with 6 additions and 6 deletions
|
|
@ -2324,10 +2324,10 @@ static int allegro_open(struct file *file)
|
|||
0, ALLEGRO_GOP_SIZE_MAX,
|
||||
1, channel->gop_size);
|
||||
v4l2_ctrl_new_std(handler,
|
||||
&allegro_ctrl_ops,
|
||||
V4L2_CID_MIN_BUFFERS_FOR_OUTPUT,
|
||||
1, 32,
|
||||
1, 1);
|
||||
&allegro_ctrl_ops,
|
||||
V4L2_CID_MIN_BUFFERS_FOR_OUTPUT,
|
||||
1, 32,
|
||||
1, 1);
|
||||
channel->fh.ctrl_handler = handler;
|
||||
|
||||
channel->mcu_channel_id = -1;
|
||||
|
|
@ -2933,8 +2933,8 @@ static int allegro_probe(struct platform_device *pdev)
|
|||
return -EINVAL;
|
||||
}
|
||||
sram_regs = devm_ioremap(&pdev->dev,
|
||||
sram_res->start,
|
||||
resource_size(sram_res));
|
||||
sram_res->start,
|
||||
resource_size(sram_res));
|
||||
if (IS_ERR(sram_regs)) {
|
||||
dev_err(&pdev->dev, "failed to map sram\n");
|
||||
return PTR_ERR(sram_regs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue