diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-09-23 18:13:10 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 10:41:24 +0200 |
commit | fb8a15079a579f4cd0e01c9d37e868f5c2b4994c (patch) | |
tree | c2e7feb959fad7e77d6a6a927e446650bdaa9c13 /mm/failslab.c | |
parent | OMAPDSS: Add missing dependency on backlight for DSI-CM panel drier (diff) | |
download | linux-fb8a15079a579f4cd0e01c9d37e868f5c2b4994c.tar.xz linux-fb8a15079a579f4cd0e01c9d37e868f5c2b4994c.zip |
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 'mm/failslab.c')
0 files changed, 0 insertions, 0 deletions