From: Gabor Juhos Date: Wed, 28 Aug 2013 08:41:44 +0000 (+0200) Subject: MIPS: ath79: Use a helper function to get system clock rates X-Git-Tag: v3.12-rc1~21^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2310780244d5c3b6cc843d4cc0b63332016678a0;p=pandora-kernel.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5778/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed