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)
commit20332ff376995daa08dcee2a193555800f17514b
tree973d01f73f94b6abe8c3465a2773641598a0143a
parent8ef997b67f0d779c82e7e533a792c5a6837594cd
ARM: 7537/1: clk: Fix release in devm_clk_put()

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>
drivers/clk/clk-devres.c