clk: twl6040: Convert to use devm_clk_register
authorAxel Lin <axel.lin@ingics.com>
Thu, 16 Jul 2015 14:15:53 +0000 (22:15 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 28 Jul 2015 18:58:48 +0000 (11:58 -0700)
commit5c757456c16ce056a40a120e63235bc00c94ee7f
tree2bcf58e75a4622f7870344b53e1a51407150bb43
parent264e3b75de4eee6e4ee4616bf2b2a3d522cad72a
clk: twl6040: Convert to use devm_clk_register

Use devm_clk_register() to simplify the code by removing
twl6040_clk_remove().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-twl6040.c