clk: clk-s2mps11: Refactor for including support for other MFD clocks
authorTushar Behera <tushar.behera@linaro.org>
Thu, 26 Dec 2013 10:18:58 +0000 (15:48 +0530)
committerMike Turquette <mturquette@linaro.org>
Wed, 19 Mar 2014 00:13:16 +0000 (17:13 -0700)
commit64d64c3573b3b6bf2d67fbb54d80bc73a1850f13
tree5357d2b364fc1e5ae6ecffcca590aa72938c4d00
parentc7bb4fc16ead2883a9e4eece2781fa78a0837735
clk: clk-s2mps11: Refactor for including support for other MFD clocks

The clocks in S2MPS11 and S5M8767 are managed in the same way, baring
a difference in the register offset. It would be better to update
existing S2MPS11 driver to support the clocks in S5M8767, rather than
creating an almost duplicate driver altogether.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-s2mps11.c