davinci: psc: simplify if-statement
commit1a07bfb5215e11227403f121097ed72187dc3241
authorNicolas Kaiser <nikai@nikai.net>
Mon, 25 Oct 2010 12:41:18 +0000 (25 14:41 +0200)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 10 Dec 2010 15:33:50 +0000 (10 07:33 -0800)
tree9edb1ef9bcda79f9fc6d688d6f485d76b8cc1fed
parentced98628bf6ca7705b2d06df9c71a80cd1cd49bb
davinci: psc: simplify if-statement

A common do-while loop can be factored out from the end of
the branches.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/psc.c