From: Laurent Pinchart Date: Thu, 2 May 2013 11:29:43 +0000 (-0300) Subject: [media] media: i2c: Convert to devm_kzalloc() X-Git-Tag: v3.11-rc1~17^2~374 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c02b211df6fc54e51ee554c27a6736a11255a764;p=pandora-kernel.git [media] media: i2c: Convert to devm_kzalloc() Using the managed function the kfree() calls can be removed from the probe error path and the remove handler. Signed-off-by: Laurent Pinchart Acked-by: Sylwester Nawrocki Acked-by: Lad, Prabhakar Acked-by: Andy Shevchenko Reviewed-by: Benoît Thébaudeau Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed