On Wed, May 07, 2014 at 01:20:31PM +0900, Jingoo Han wrote:
> The site-specific OOM messages are unnecessary, because they
> duplicate the MM subsystem generic OOM message.
> 
> Signed-off-by: Jingoo Han <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>

Thanks
Uwe

> ---
>  drivers/i2c/busses/i2c-imx.c |    4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
> index db895fb..584e002 100644
> --- a/drivers/i2c/busses/i2c-imx.c
> +++ b/drivers/i2c/busses/i2c-imx.c
> @@ -617,10 +617,8 @@ static int i2c_imx_probe(struct platform_device *pdev)
>  
>       i2c_imx = devm_kzalloc(&pdev->dev, sizeof(struct imx_i2c_struct),
>                               GFP_KERNEL);
> -     if (!i2c_imx) {
> -             dev_err(&pdev->dev, "can't allocate interface\n");
> +     if (!i2c_imx)
>               return -ENOMEM;
> -     }

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to