From: Uwe Kleine-König Date: Mon, 23 Sep 2013 16:13:10 +0000 (+0200) Subject: video: mmp: drop needless devm cleanup X-Git-Tag: v3.12-rc3~20^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8a15079a579f4cd0e01c9d37e868f5c2b4994c;p=pandora-kernel.git video: mmp: drop needless devm cleanup The nice thing about devm_* is that the driver doesn't need to free the resources but the driver core takes care about that. This also simplifies the error path quite a bit and removes the wrong check for a clock pointer being NULL. Russell King - ARM Linux : "And this patch also fixes the above: disabling/unpreparing _after_ putting the thing - which was quite silly... :)" Signed-off-by: Uwe Kleine-König Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed