clk: wm831x: Use devm_clk_register() to simplify code
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 24 Sep 2012 20:38:05 +0000 (13:38 -0700)
committerMike Turquette <mturquette@linaro.org>
Mon, 29 Oct 2012 18:12:55 +0000 (11:12 -0700)
commit9be9d482bcf5a0a3e0ae131a98573b9e2d358915
tree7bacf94da9d214eadd0b74d19c558428e2e4f8c6
parent46c8773a58010d31f228e148b8b774d94cc9810d
clk: wm831x: Use devm_clk_register() to simplify code

Move this driver to use devm_clk_register() to simplify some
error paths and reduce lines of code.

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-wm831x.c