summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-09-23 20:13:10 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 12:41:24 +0400
commitfb8a15079a579f4cd0e01c9d37e868f5c2b4994c (patch)
treec2e7feb959fad7e77d6a6a927e446650bdaa9c13 /tools
parent633358e9ff19145fde81903a8310ecc252dc8bca (diff)
downloadlinux-fb8a15079a579f4cd0e01c9d37e868f5c2b4994c.tar.xz
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 <linux@arm.linux.org.uk>: "And this patch also fixes the above: disabling/unpreparing _after_ putting the thing - which was quite silly... :)" Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions