From: Sachin Kamat Date: Wed, 5 Sep 2012 11:25:26 +0000 (-0300) Subject: [media] soc_camera: Use devm_kzalloc function X-Git-Tag: v3.7-rc1~38^2^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02249369352879343337ee63b45dee1e1cfc2550;p=pandora-kernel.git [media] soc_camera: Use devm_kzalloc function devm_kzalloc() has been used to simplify error handling. While at it, the soc_camera_device_register function has been moved to save a few lines of code and a variable. Signed-off-by: Sachin Kamat [g.liakhovetski@gmx.de: remove a superfluous empty line] Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed