ARM: 7537/1: clk: Fix release in devm_clk_put()
authorMark Brown <broonie@sirena.org.uk>
Wed, 19 Sep 2012 11:43:21 +0000 (12:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 19 Sep 2012 20:51:27 +0000 (21:51 +0100)
Surprisingly devres_destroy() doesn't call the destructor for the
resource it is destroying, use the newly added devres_release() instead
to fix this.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found