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_mpc83xx.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_mpc83xx.c')
-rw-r--r-- | drivers/spi/spi_mpc83xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c index be15a6213205..189f706b9e4b 100644 --- a/drivers/spi/spi_mpc83xx.c +++ b/drivers/spi/spi_mpc83xx.c | |||
@@ -310,7 +310,7 @@ static int mpc83xx_spi_setup(struct spi_device *spi) | |||
310 | return retval; | 310 | return retval; |
311 | 311 | ||
312 | dev_dbg(&spi->dev, "%s, mode %d, %u bits/w, %u nsec\n", | 312 | dev_dbg(&spi->dev, "%s, mode %d, %u bits/w, %u nsec\n", |
313 | __FUNCTION__, spi->mode & (SPI_CPOL | SPI_CPHA), | 313 | __func__, spi->mode & (SPI_CPOL | SPI_CPHA), |
314 | spi->bits_per_word, 2 * mpc83xx_spi->nsecs); | 314 | spi->bits_per_word, 2 * mpc83xx_spi->nsecs); |
315 | 315 | ||
316 | /* NOTE we _need_ to call chipselect() early, ideally with adapter | 316 | /* NOTE we _need_ to call chipselect() early, ideally with adapter |