[ARM] pxa: cpufreq-pxa2xx: fix DRI recomputation routine
authorMarek Vasut <marek.vasut@gmail.com>
Thu, 24 Jun 2010 13:57:12 +0000 (15:57 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 13 Jul 2010 08:09:06 +0000 (16:09 +0800)
commit3d3d0fbf4dca6bbca5e9ffff9653c3df031c3449
tree91007207837f56f0c25ebc4fe18d1dc7986a0bb2
parent76d61e4ee05dd904e7594d4c330b9c47ea51fe12
[ARM] pxa: cpufreq-pxa2xx: fix DRI recomputation routine

This patch:
1) Simpifies the DRI recomputation routine by pulling out the common code
2) Fixes a bug in PXA27x DRI recomputation caused by incorrect parenthesis

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/cpufreq-pxa2xx.c