clk: twl6040: Register the clock as of_clk_provider
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 30 May 2016 08:55:10 +0000 (11:55 +0300)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 15 Aug 2016 19:09:52 +0000 (12:09 -0700)
commit994deaae37a05bfe59aded7bb176092fb849c5b4
tree5d630d2c094f7fdeae32dfac92f741f83dc33a0c
parent225ff4e87ab2ceca4d4db05a5930a8c7ad16d754
clk: twl6040: Register the clock as of_clk_provider

In order ot be able to use the pdmclk clock via DT it need to be registered
as of_clk_provide.
Since the twl6040 clock driver does not have it's own DT node, use the
parent's node for registering.

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