diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2009-11-03 12:53:41 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-20 00:19:00 +0100 |
commit | 0d813d9960444470c4bebb73c2bde6697543fee9 (patch) | |
tree | 51f9b4786f7b3c5c4152b0854b01ac211dd27fb8 /drivers/i2c/busses/i2c-bfin-twi.c | |
parent | 29412e69007c17d6866a50d0b65fb0d808824370 (diff) | |
download | blackbird-op-linux-0d813d9960444470c4bebb73c2bde6697543fee9.tar.gz blackbird-op-linux-0d813d9960444470c4bebb73c2bde6697543fee9.zip |
i2c-pxa: only define 'blue_murder'-function if DEBUG is #defined
This talkative function is also called on timeouts. As timeouts can
happen on regular writes to EEPROMs (no error case), this creates false
positives. Giving lots of details is interesting only for developers
anyhow, so just use the function if DEBUG is #defined.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Cc: Roel Kluin <roel.kluin@gmail.com>
Cc: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/i2c/busses/i2c-bfin-twi.c')
0 files changed, 0 insertions, 0 deletions