diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-05-02 00:38:27 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-07 00:02:09 +0200 |
commit | 5b3a05ca911688c53680f2b020a1512b9da29c89 (patch) | |
tree | 4724dd98e7ef949d1976865ad1198c8693d341da /arch/arm/mach-davinci/dm646x.c | |
parent | Davinci: gpio - fine grained locking (diff) | |
download | linux-5b3a05ca911688c53680f2b020a1512b9da29c89.tar.xz linux-5b3a05ca911688c53680f2b020a1512b9da29c89.zip |
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>
Diffstat (limited to 'arch/arm/mach-davinci/dm646x.c')
-rw-r--r-- | arch/arm/mach-davinci/dm646x.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c index bdb1acebe203..a8189c919e92 100644 --- a/arch/arm/mach-davinci/dm646x.c +++ b/arch/arm/mach-davinci/dm646x.c @@ -401,9 +401,6 @@ static struct platform_device dm646x_emac_device = { .resource = dm646x_emac_resources, }; -#define PINMUX0 0x00 -#define PINMUX1 0x04 - /* * Device specific mux setup * |