Stephen Boyd 4462b4bbfc clk: gpio: Really allow an optional clock= DT property
We mis-merged the original patch from Russell here and so the
patch went almost all the way, except that we still failed to
probe when there wasn't a clocks property in the DT node. Allow
that case by making a negative value from
of_clk_get_parent_count() into "no parents", like the original
patch did.

Fixes: 7ed88aa2efa5 ("clk: fix clk-gpio.c with optional clock= DT property")
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Michael Turquette <mturquette@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-02-18 19:10:22 -08:00
..
2015-11-10 15:00:03 -08:00
2015-09-17 11:15:14 -07:00
2015-07-20 11:11:36 -07:00
2015-12-01 21:44:22 +01:00
2015-10-01 15:24:34 -07:00
2016-01-20 18:16:29 -08:00
2015-12-23 23:23:18 -08:00
2016-01-20 17:44:16 -08:00
2015-09-01 12:18:40 -07:00
2015-07-20 11:11:32 -07:00
2015-05-21 11:55:05 -07:00
2015-07-20 11:11:22 -07:00
2015-07-20 11:11:33 -07:00
2015-04-10 14:44:43 -07:00
2015-11-30 13:00:54 -08:00
2015-07-20 10:53:00 -07:00
2015-07-20 11:11:35 -07:00
2015-11-20 10:40:37 -08:00
2015-07-20 10:53:04 -07:00
2015-07-20 10:53:05 -07:00