MIPS: ath79: Use a helper function to get system clock rates
authorGabor Juhos <juhosg@openwrt.org>
Wed, 28 Aug 2013 08:41:44 +0000 (10:41 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Sep 2013 21:22:17 +0000 (23:22 +0200)
commit2310780244d5c3b6cc843d4cc0b63332016678a0
treea5d9acd309caa01f549d4c895687fe91235e2805
parent837f036c8ab201965b9fb0f6b743a415f555493f
MIPS: ath79: Use a helper function to get system clock rates

The ath79 platform uses similar code to get the
rate of various clocks during init. Separate the
similar code into a new helper function and use
that to avoid code duplication.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5778/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/clock.c
arch/mips/ath79/common.h
arch/mips/ath79/dev-common.c
arch/mips/ath79/setup.c
This page took 0.041767 seconds and 5 git commands to generate.