From: Sylwester Nawrocki Date: Mon, 30 Jan 2012 14:37:59 +0000 (-0300) Subject: [media] s5p-fimc: Convert to the device managed resources X-Git-Tag: v3.4-rc1~110^2^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d91a51ae1cb597100e17a75370bb2ad9c7da6d6;p=pandora-kernel.git [media] s5p-fimc: Convert to the device managed resources The devm_* functions are used in the platform device probe() for data that is freed on driver removal. The managed device layer takes care of undoing actions taken in the probe callback() and freeing resources on driver detach. This eliminates the need for manually releasing resources and simplifies error handling. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed