]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 4591/1: ns9xxx: simplify REGSET, REGGET and introduce ..._IDX variants
authorUwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Sun, 30 Sep 2007 19:35:27 +0000 (20:35 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Oct 2007 22:43:36 +0000 (23:43 +0100)
commit773b1d4523fd475038c217d096b51dfc17f0f86a
tree2c4846eb64c3bd330275a183b9d8244ab075e7a0
parent6be95317747569555f3f7e7046e5f343e8a50b3c
[ARM] 4591/1: ns9xxx: simplify REGSET, REGGET and introduce ..._IDX variants

The semantic of the REGSET macros didn't change, but hopefully
it's more obvious as it's now.

REGGET is changed to return the unshifted value, analogous to
REGSET.  REGGETIM behaves as REGGET before.  All callers changed.

..._IDX is used to work with registers that need a parameter like
BBU_GCONFb1.

Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-ns9xxx/clock.h
include/asm-arm/arch-ns9xxx/hardware.h