ARM: keystone2: Use common definition for clk_get_rate
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 28 Jul 2015 08:46:48 +0000 (14:16 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:19:12 +0000 (10:19 +0200)
commit0fbd55a8680dc68c398f6d52fcdfdf3e8cafe2dc
treecd2e932ad374fe0ca44b30f2dd53ea033aebf8fe
parent4b64257aa1fa17034b9f47f3dc3fb94a73ccff12
ARM: keystone2: Use common definition for clk_get_rate

Since all the clocks are defined common, and has the same logic to get
the frequencies, use a common definition for for clk_get_rate().

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-keystone/Makefile
arch/arm/mach-keystone/clock.c
arch/arm/mach-keystone/cmd_clock.c
arch/arm/mach-keystone/include/mach/clock-k2e.h
arch/arm/mach-keystone/include/mach/clock-k2hk.h
arch/arm/mach-keystone/include/mach/clock-k2l.h
arch/arm/mach-keystone/include/mach/clock.h
arch/arm/mach-keystone/include/mach/clock_defs.h