clk: shmobile: div6: Make clock-output-names optional
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 8 Sep 2015 12:46:32 +0000 (14:46 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 8 Dec 2015 13:32:58 +0000 (14:32 +0100)
commit07705583e920fef65a1bbe4549684f30df5c6ef2
tree58e69a6a225471883537075fcce86041260364a5
parent189d3a2976797346eac4bb20f06635476d62edb8
clk: shmobile: div6: Make clock-output-names optional

Renesas DIV6 clocks provide a single clock output.  Hence make the
"clock-output-names" DT property optional instead of mandatory. In case
the DT property is omitted the DT node name will be used.

Rename the variable "name" to "clk_name" to make the code more similar
with fixed-factor-clock.c, and to avoid a conflict with a nested local
variable while we're at it.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Documentation/devicetree/bindings/clock/renesas,cpg-div6-clocks.txt
drivers/clk/shmobile/clk-div6.c