ARM: sa1111: use devm_clk_get()
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 30 Aug 2016 21:47:35 +0000 (22:47 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 20 Sep 2016 13:21:07 +0000 (14:21 +0100)
commitdeee856a5c6293c50ad6589c9f8a1cca5ed08ae9
tree80f8bce58e8738fb68f7cb1956767cc0f25a7e8a
parent7d53c1f01210aa79838f1fe34b2a89f8e900d720
ARM: sa1111: use devm_clk_get()

Convert sa1111 to use devm_clk_get() to get its clock resource, and
strip out the clk_put() calls.  This simplifies the error handling
a little.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/common/sa1111.c