Commit bcfc16eb authored by Lucas Leonardo Ciancaglini's avatar Lucas Leonardo Ciancaglini Committed by Mauro Carvalho Chehab

media: staging/imx: Fix inconsistent long line breaks

Small readability changes to make the breaking of some lines
cleaner.
Signed-off-by: default avatarLucas Leonardo Ciancaglini <leociancalucas@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 9b9ea7c2
...@@ -50,12 +50,14 @@ int imx_media_add_async_subdev(struct imx_media_dev *imxmd, ...@@ -50,12 +50,14 @@ int imx_media_add_async_subdev(struct imx_media_dev *imxmd,
int ret; int ret;
if (fwnode) { if (fwnode) {
asd = v4l2_async_notifier_add_fwnode_subdev( asd = v4l2_async_notifier_add_fwnode_subdev(&imxmd->notifier,
&imxmd->notifier, fwnode, sizeof(*imxasd)); fwnode,
sizeof(*imxasd));
} else { } else {
devname = dev_name(&pdev->dev); devname = dev_name(&pdev->dev);
asd = v4l2_async_notifier_add_devname_subdev( asd = v4l2_async_notifier_add_devname_subdev(&imxmd->notifier,
&imxmd->notifier, devname, sizeof(*imxasd)); devname,
sizeof(*imxasd));
} }
if (IS_ERR(asd)) { if (IS_ERR(asd)) {
...@@ -266,10 +268,9 @@ static int imx_media_alloc_pad_vdev_lists(struct imx_media_dev *imxmd) ...@@ -266,10 +268,9 @@ static int imx_media_alloc_pad_vdev_lists(struct imx_media_dev *imxmd)
list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) {
entity = &sd->entity; entity = &sd->entity;
vdev_lists = devm_kcalloc( vdev_lists = devm_kcalloc(imxmd->md.dev,
imxmd->md.dev, entity->num_pads, sizeof(*vdev_lists),
entity->num_pads, sizeof(*vdev_lists), GFP_KERNEL);
GFP_KERNEL);
if (!vdev_lists) if (!vdev_lists)
return -ENOMEM; return -ENOMEM;
......
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