]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] s5k6aa: Use devm_kzalloc function
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 26 Jul 2012 05:23:32 +0000 (02:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Aug 2012 01:10:57 +0000 (22:10 -0300)
commitdc9c94cd339dc74b73ca7ef0943ea610d02f8e3e
tree8d73553452b0539795d845531573b4e890ddcdee
parentb08deebebe13c73b35701d180a4689dfb34db519
[media] s5k6aa: Use devm_kzalloc function

devm_kzalloc() eliminates the need to free explicitly thereby
making the code a bit simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5k6aa.c