clk: fixed-factor: Let clk framework find parent
authorStephen Boyd <sboyd@kernel.org>
Fri, 12 Apr 2019 18:31:50 +0000 (11:31 -0700)
committerStephen Boyd <sboyd@kernel.org>
Fri, 19 Apr 2019 21:53:20 +0000 (14:53 -0700)
commitecbf3f1795fda56122632c1d024cfd0d3f4fe353
treefcad8ebe1423ed658a71ef30e80f70d93dcbd157
parent601b6e93304a65f8f7c37168763ab9ba5b195ce5
clk: fixed-factor: Let clk framework find parent

Convert this driver to a more modern way of specifying parents now that
we have a way to specify clk parents by DT index. This lets us nicely
avoid a problem where a parent clk name isn't know because the parent
clk hasn't been registered yet.

Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Jeffrey Hugo <jhugo@codeaurora.org>
Cc: Chen-Yu Tsai <wens@csie.org>
Tested-by: Jeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-fixed-factor.c