aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ccs/ccs-core.c
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2022-01-28 22:26:07 +0000
committerSakari Ailus <[email protected]>2022-03-03 22:27:07 +0000
commit5f1501fd47882b1cf86ca232dd5d090cd9010ba2 (patch)
tree6f1beb864cd7ce995039b7f5203b275938d922b9 /drivers/media/i2c/ccs/ccs-core.c
parentv4l: fwnode: Drop redunant -ENODATA check in property reference parsing (diff)
downloadkernel-5f1501fd47882b1cf86ca232dd5d090cd9010ba2.tar.gz
kernel-5f1501fd47882b1cf86ca232dd5d090cd9010ba2.zip
v4l: fwnode: Remove now-redundant loop from v4l2_fwnode_parse_reference()
v4l2_fwnode_parse_reference() relied on counting the number of references for async array memory allocation. The array is long gone so remove counting the references now. This also changes how the function arrives in different unsuccessful return values but the functionality remains unchanged. Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-core.c')
0 files changed, 0 insertions, 0 deletions