Sebastian Hesselbarth 0cd3be6e9a clk: si5351: Do not pass struct clk in platform_data
When registering clk-si5351 by platform_data, we should not pass struct clk
for the reference clocks. Drop struct clk from platform_data and rework the
driver to use devm_clk_get of named clock references.

While at it, check for at least one valid input clock and properly prepare/
enable valid reference clocks.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Reported-by: Michael Welling <mwelling@ieee.org>
Reported-by: Jean-Francois Moine <moinejf@free.fr>
Reported-by: Russell King <rmk+linux@arm.linux.org.uk>
Tested-by: Michael Welling <mwelling@ieee.org>
Tested-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
2015-05-08 11:22:30 -07:00
..
2012-10-19 18:46:51 +01:00
2013-06-11 20:25:58 +01:00
2014-02-19 13:36:15 +09:00
2012-12-05 10:55:54 -08:00
2014-06-03 09:01:02 -07:00
2013-04-29 18:28:13 -07:00
2015-03-07 03:23:02 +01:00
2014-01-02 03:30:35 -05:00
2013-07-21 17:24:41 +02:00
2012-11-02 12:00:36 -07:00
2013-06-04 21:03:56 +09:00
2014-01-14 21:36:53 -08:00
2013-12-11 10:56:21 -05:00
2014-01-14 21:36:53 -08:00
2013-09-05 09:49:32 -07:00
2013-05-25 10:33:30 -04:00