summaryrefslogtreecommitdiff
path: root/drivers/mtd/cfi_flash.c
diff options
context:
space:
mode:
authorAkshay Saraswat <akshay.s@samsung.com>2015-02-04 16:00:05 +0530
committerMinkyu Kang <mk7.kang@samsung.com>2015-02-13 17:23:06 +0900
commit2e82e9252695a612ab0cbf40fa0c7368515f6506 (patch)
treef8fa04405338a19bfcd2aa1efb494a25649267cb /drivers/mtd/cfi_flash.c
parentc5d32170bb98032781be0537ce56159fa52ade97 (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>
Diffstat (limited to 'drivers/mtd/cfi_flash.c')
0 files changed, 0 insertions, 0 deletions