atmel_spi: remove unnecessary (and wrong) #ifdefs
commita1e3cf418fc1e6b13bdc472ffb60bd02735e41a6
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 9 May 2007 09:33:50 +0000 (9 02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:50 +0000 (9 12:30 -0700)
treec4b936f602bf6716e23f6fb8ee9b1e0b59233411
parente7498281d3caec1141d7542ec494c4e4a1d404c9
atmel_spi: remove unnecessary (and wrong) #ifdefs

Now that the cpu_is_xxx() macros are available both on AVR32 and AT91, we can
remove a couple of #ifdefs from this driver.  One of them is actually wrong --
new_1 should be set on AVR32 but isn't.  This causes the bus clock to run at
twice the speed it is configured to.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Andrew Victor <andrew@sanpeople.com>
Cc: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/atmel_spi.c