From: Sylwester Nawrocki Date: Thu, 18 Apr 2013 11:55:23 +0000 (-0300) Subject: [media] exynos4-is: Fix regulator/gpio resource releasing on the driver removal X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~104^2^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2afa23669ffb30173c010ccab1f6d1d4d0c82fb;p=pandora-kernel.git [media] exynos4-is: Fix regulator/gpio resource releasing on the driver removal Remove regulator_bulk_free() calls as devm_regulator_bulk_get() function is used to get the regulators so those will be freed automatically while the driver is removed. Missing gpio free is fixed by requesting a gpio with the devm_* API. All that is done now in the I2C client driver remove() callback is the media entity cleanup call. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed