commit | 2e82e9252695a612ab0cbf40fa0c7368515f6506 | [log] [tgz] |
---|---|---|
author | Akshay Saraswat <akshay.s@samsung.com> | Wed Feb 04 16:00:05 2015 +0530 |
committer | Minkyu Kang <mk7.kang@samsung.com> | Fri Feb 13 17:23:06 2015 +0900 |
tree | f8fa04405338a19bfcd2aa1efb494a25649267cb | |
parent | c5d32170bb98032781be0537ce56159fa52ade97 [diff] |
Exynos: Clock: Cleanup soc_get_periph_rate Since we have src, div and pre-div mask bits defined corresponding to peripherals, calculation of clock specific to I2C appears redundant and confusing. Using clk_bit_info struct we can write calculations generic to all peripherals which makes code easy to understand and free from peripheral specific exceptions. Signed-off-by: Akshay Saraswat <akshay.s@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>