clk: socfpga: split clk code
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Mon, 6 Jan 2014 16:27:37 +0000 (10:27 -0600)
committerMike Turquette <mturquette@linaro.org>
Tue, 18 Feb 2014 22:08:13 +0000 (14:08 -0800)
commit97259e99bdc9144d071815536f1dbc2e41c6b5a8
tree951034053e4874e158c8cb442e1025a2e66cd128
parent0c5a1872ba04dbcf8430d805a8c34e0ee22f1f75
clk: socfpga: split clk code

Move the different kinds of clocks into their own files. The reason is to aid
readability of the code. This also goes along with the other SoC-specific
clock drivers.

The split introduces new structs for the three types of clocks and uses them.
Other changes are not done to the code.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
drivers/clk/socfpga/Makefile
drivers/clk/socfpga/clk-gate.c [new file with mode: 0644]
drivers/clk/socfpga/clk-periph.c [new file with mode: 0644]
drivers/clk/socfpga/clk-pll.c [new file with mode: 0644]
drivers/clk/socfpga/clk.c
drivers/clk/socfpga/clk.h [new file with mode: 0644]