sh: update sh timer coding style

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2008-12-20 15:25:22 +01:00 committed by Nobuhiro Iwamatsu
parent 0e3ece3380
commit 1e15ff9993

View File

@ -49,21 +49,21 @@ int timer_init (void)
{
/* Divide clock by TMU_CLK_DIVIDER */
u16 bit = 0;
switch (TMU_CLK_DIVIDER) {
case 4:
bit = 0;
break;
case 16:
bit = 1;
break;
case 64: bit = 2;
case 1024:
bit = 4;
break;
case 256:
bit = 3;
break;
case 1024:
bit = 4;
case 64:
bit = 2;
break;
case 16:
bit = 1;
break;
case 4:
default:
bit = 0;
break;