summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/oprofile
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-01-06 23:41:42 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 00:59:19 +0100
commit5bfa26ca1332780dfeeabafd7f169fc6fb48ba30 (patch)
treee03fa31c53e5d97077dfd932cb5a62dcc44ef2c4 /arch/mn10300/oprofile
parentspi_gpio driver (diff)
downloadlinux-5bfa26ca1332780dfeeabafd7f169fc6fb48ba30.tar.xz
linux-5bfa26ca1332780dfeeabafd7f169fc6fb48ba30.zip
atmel_spi: clean up SPIv1 quirk handling
Currently, we have a flag called "new_1" which is basically equivalent to cpu_is_at91rm9200(). The latter is also called directly a few places. Clean up this mess by introducing a atmel_spi_v2() function for determining the controller version, and move all version dependent code over to use it. This allows us to remove the new_1 flag. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mn10300/oprofile')
0 files changed, 0 insertions, 0 deletions