aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-core.c
diff options
context:
space:
mode:
authorSteve Longerbeam <[email protected]>2019-01-11 16:17:03 +0000
committerMauro Carvalho Chehab <[email protected]>2019-01-21 17:44:23 +0000
commitfb517583b3fe0bb6e64b8a861bfae5dc39f1cedb (patch)
tree2d055f4e12b80e50c611b7d0c06804ec4db4c6b7 /drivers/media/platform/vimc/vimc-core.c
parentmedia: cedrus: Allow using the current dst buffer as reference (diff)
downloadkernel-fb517583b3fe0bb6e64b8a861bfae5dc39f1cedb.tar.gz
kernel-fb517583b3fe0bb6e64b8a861bfae5dc39f1cedb.zip
media: i2c: adv748x: Use devm to allocate the device struct
Switch to devm_kzalloc() when allocating the adv748x device struct. The sizeof() is updated to determine the correct allocation size from the dereferenced pointer type rather than hardcoding the struct type. [Kieran: Change sizeof() to dereference the pointer type] Signed-off-by: Steve Longerbeam <[email protected]> Signed-off-by: Kieran Bingham <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions