clocksource: sh_cmt: compute mult and shift before registration
authorPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 08:10:44 +0000 (17:10 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:11:02 +0000 (11:11 -0700)
commit98c26ee126baf7360a58391d2ebd152501aeb0cd
tree32df4217d4d477af27568903358a6f6bc475d1d6
parent7d5c64f6f0489592fefe4d81f911fdc078a1735e
clocksource: sh_cmt: compute mult and shift before registration

commit f4d7c3565c1692c54d9152b52090fe73f0029e37 upstream.

Based on the sh_tmu change in 66f49121ffa41a19c59965b31b046d8368fec3c7
("clocksource: sh_tmu: compute mult and shift before registration").
The same issues impact the sh_cmt driver, so we take the same approach
here.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/clocksource/sh_cmt.c