clk: sunxi: support better factor DT nodes
authorEmilio López <emilio@elopez.com.ar>
Mon, 23 Dec 2013 03:32:40 +0000 (00:32 -0300)
committerEmilio López <emilio@elopez.com.ar>
Sat, 28 Dec 2013 20:08:25 +0000 (17:08 -0300)
commit76192dc8873f724361c1bf8a90b37abc7dfed7ad
tree9cdae88195f079955485df8fc290a955f5a97bb1
parent7551769a225f3e600d6455e63ae00d51df37ff59
clk: sunxi: support better factor DT nodes

The DT nodes should look like

    abc_clk: clk@deadbeef {
        ...
        clock-output-names = "abc";
    }

But our old DT nodes look like

    abc: abc@deadbeef {
        ...
    }

So, let's support both formats, until we can transition everything
to the new, correct one.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Acked-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/sunxi/clk-sunxi.c