[media] media: sh_mobile_csi2: use managed memory and resource allocations
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 10 Oct 2012 08:02:30 +0000 (05:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 20 Dec 2012 16:34:10 +0000 (14:34 -0200)
commitf8cabc3628f047fc45c62f0c4a38a88febbf8383
treee9ed712267c6107415f2f6324afaa49f48f126bd
parentcea4c9e46c4f656a81c93f09b5e3bde38bebb160
[media] media: sh_mobile_csi2: use managed memory and resource allocations

Use managed allocations to simplify error handling and clean up paths.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/sh_mobile_csi2.c