diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-28 05:14:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:31 -0400 |
commit | b687d2a8f8d46921ac5e80bf77967688afce68e2 (patch) | |
tree | c8f75152f6f20fd12e8128c7396b1d600691e063 /drivers/spi/spi_bitbang.c | |
parent | 31a16294261a897ab7f59a5c26e4935a851fd410 (diff) |
spi: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-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 'drivers/spi/spi_bitbang.c')
-rw-r--r-- | drivers/spi/spi_bitbang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_bitbang.c b/drivers/spi/spi_bitbang.c index 71e881419cdd..96cc39ecb6e2 100644 --- a/drivers/spi/spi_bitbang.c +++ b/drivers/spi/spi_bitbang.c | |||
@@ -214,7 +214,7 @@ int spi_bitbang_setup(struct spi_device *spi) | |||
214 | return retval; | 214 | return retval; |
215 | 215 | ||
216 | dev_dbg(&spi->dev, "%s, mode %d, %u bits/w, %u nsec/bit\n", | 216 | dev_dbg(&spi->dev, "%s, mode %d, %u bits/w, %u nsec/bit\n", |
217 | __FUNCTION__, spi->mode & (SPI_CPOL | SPI_CPHA), | 217 | __func__, spi->mode & (SPI_CPOL | SPI_CPHA), |
218 | spi->bits_per_word, 2 * cs->nsecs); | 218 | spi->bits_per_word, 2 * cs->nsecs); |
219 | 219 | ||
220 | /* NOTE we _need_ to call chipselect() early, ideally with adapter | 220 | /* NOTE we _need_ to call chipselect() early, ideally with adapter |