Davinci: eliminate pinmux offset verbosity
authorCyril Chemparathy <cyril@ti.com>
Sat, 1 May 2010 22:38:27 +0000 (18:38 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 6 May 2010 22:02:09 +0000 (15:02 -0700)
commit5b3a05ca911688c53680f2b020a1512b9da29c89
tree4724dd98e7ef949d1976865ad1198c8693d341da
parentb27b6d03f245e5eaf6473da58a2612077fb7cfe7
Davinci: eliminate pinmux offset verbosity

Pinmux registers are sequential, and do not need to be enumerated out as they
currently are.  This reduces code volume and keeps things simple.

If some future SoC comes up with a discontiguous register map, PINMUX() can
then be expanded with local token pasting.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm365.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/gpio.c
arch/arm/mach-davinci/include/mach/da8xx.h
arch/arm/mach-davinci/include/mach/mux.h
arch/arm/mach-davinci/mux.h