clk: samsung: Provide common helpers for register save/restore
authorTomasz Figa <t.figa@samsung.com>
Thu, 13 Feb 2014 23:16:00 +0000 (08:16 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 13 Feb 2014 23:16:00 +0000 (08:16 +0900)
commit3ccefbd2291d6ee59f242c05266e241c5e33667e
tree7f28cf471e3e3d7920222223f6d85fee4cf1bc83
parent442f4948e5b0b2bc6e77811a5e46fcd13f0870a6
clk: samsung: Provide common helpers for register save/restore

As suspend/resume handlers are being moved to SoC specific code, due to
differencies in suspend/resume handling of particular SoCs, to minimize
code duplication this patch provides common register save/restore
helpers that save/restore given list of registers of clock controller.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Thomas Abraham <thomas.ab@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/clk/samsung/clk.c
drivers/clk/samsung/clk.h