summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-bfin-twi.c
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-11-03 12:53:41 +0100
committerBen Dooks <ben-linux@fluff.org>2010-05-20 00:19:00 +0100
commit0d813d9960444470c4bebb73c2bde6697543fee9 (patch)
tree51f9b4786f7b3c5c4152b0854b01ac211dd27fb8 /drivers/i2c/busses/i2c-bfin-twi.c
parent29412e69007c17d6866a50d0b65fb0d808824370 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud