> -----Original Message-----
> From: [email protected] [mailto:linux-omap-
> [email protected]] On Behalf Of Shubhrajyoti D
> Sent: Monday, August 02, 2010 6:18 PM
> To: [email protected]
> Cc: Datta, Shubhrajyoti
> Subject: [PATCH] [RFC] Remove the debug print noise
> 
> This patch intends to make the i2cdetect more readable.
> 
> Signed-off-by: Shubhrajyoti D <[email protected]>
> ---
>  drivers/i2c/busses/i2c-omap.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
> index 7674efb..3a97d2c 100644
> --- a/drivers/i2c/busses/i2c-omap.c
> +++ b/drivers/i2c/busses/i2c-omap.c
> @@ -626,7 +626,7 @@ static int omap_i2c_xfer_msg(struct i2c_adapter *adap,
>       if (r < 0)
>               return r;
>       if (r == 0) {
> -             dev_err(dev->dev, "controller timed out\n");
> +             dev_dbg(dev->dev, "controller timed out\n");

Did you compile the code? I thought it would be as below:
dev_dbg(&dev->dev, "controller timed out\n");

>               omap_i2c_init(dev);
>               return -ETIMEDOUT;
>       }
> --
> 1.7.0.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to