Hi Jingoo,

Thank you for the patch.

On Wednesday 07 May 2014 13:27:22 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: Laurent Pinchart <[email protected]>

> ---
>  drivers/i2c/busses/i2c-sh_mobile.c |    4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-sh_mobile.c
> b/drivers/i2c/busses/i2c-sh_mobile.c index 1d79585..fbc13e9 100644
> --- a/drivers/i2c/busses/i2c-sh_mobile.c
> +++ b/drivers/i2c/busses/i2c-sh_mobile.c
> @@ -665,10 +665,8 @@ static int sh_mobile_i2c_probe(struct platform_device
> *dev) int ret;
> 
>       pd = kzalloc(sizeof(struct sh_mobile_i2c_data), GFP_KERNEL);
> -     if (pd == NULL) {
> -             dev_err(&dev->dev, "cannot allocate private data\n");
> +     if (pd == NULL)
>               return -ENOMEM;
> -     }
> 
>       pd->clk = clk_get(&dev->dev, NULL);
>       if (IS_ERR(pd->clk)) {

-- 
Regards,

Laurent Pinchart

--
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