[PATCH 2/2 RESENT] [ARM] i2c/pxa: only define 'blue_murder'-function if DEBUG is #defined

Eric Miao eric.y.miao at gmail.com
Mon Nov 9 03:58:03 EST 2009


2009/11/9 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:
> From: Wolfram Sang <w.sang at pengutronix.de>
>
> 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.
>

Well, this does look cleaner. Feel free to take my Ack.



More information about the linux-arm-kernel mailing list