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)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:47:55 +0000 (20:47 -0400)
commitfe772ebd285b4c442a2406419c49a4c7e829d83a
treead6986280bb64fe2448e9431e2b194761644a0fc
parent7531122e5ca64fd1d5b9a1feffa25bc812a627a6
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