linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
To: Jingoo Han <jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Cc: 'Wolfram Sang' <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	'Sascha Hauer' <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Subject: Re: [PATCH 06/16] i2c: imx: remove unnecessary OOM messages
Date: Wed, 7 May 2014 09:30:35 +0200	[thread overview]
Message-ID: <20140507073035.GX28564@pengutronix.de> (raw)
In-Reply-To: <018a01cf69ab$aef30540$0cd90fc0$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>

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 <jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Acked-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

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

  parent reply	other threads:[~2014-05-07  7:30 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07  4:14 [PATCH 00/16] i2c: remove unnecessary OOM messages Jingoo Han
     [not found] ` <018301cf69aa$cb7987d0$626c9770$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-07  4:16   ` [PATCH 01/16] i2c: bcm2835: " Jingoo Han
2014-05-07  4:16   ` [PATCH 02/16] i2c: diolan-u2c: " Jingoo Han
     [not found]     ` <018601cf69ab$26b2f460$7418dd20$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-07  4:49       ` Guenter Roeck
2014-05-07  4:17   ` [PATCH 03/16] i2c: efm32: " Jingoo Han
     [not found]     ` <018701cf69ab$42fd89f0$c8f89dd0$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-07  7:32       ` Uwe Kleine-König
2014-05-07  4:18   ` [PATCH 04/16] i2c: eg20t: " Jingoo Han
     [not found]     ` <018801cf69ab$70a79a30$51f6ce90$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-07  7:20       ` Jean Delvare
2014-05-07  4:19   ` [PATCH 05/16] i2c: exynos5: " Jingoo Han
2014-05-07  4:20   ` [PATCH 06/16] i2c: imx: " Jingoo Han
     [not found]     ` <018a01cf69ab$aef30540$0cd90fc0$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-07  7:30       ` Uwe Kleine-König [this message]
2014-05-07  4:24   ` [PATCH 07/16] i2c: omap: " Jingoo Han
2014-05-07  4:37     ` Felipe Balbi
2014-05-07  4:26   ` [PATCH 08/16] i2c: rcar: " Jingoo Han
2014-05-07  4:26   ` [PATCH 09/16] i2c: s3c2410: " Jingoo Han
2014-05-07  4:27   ` [PATCH 10/16] i2c: sh_mobile: " Jingoo Han
     [not found]     ` <018e01cf69ac$a4479600$ecd6c200$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-07  7:22       ` Laurent Pinchart
2014-05-07  4:28   ` [PATCH 11/16] i2c: simtec: " Jingoo Han
2014-05-07  4:29   ` [PATCH 12/16] i2c: sirf: " Jingoo Han
2014-05-07  4:29   ` [PATCH 13/16] i2c: stu300: " Jingoo Han
     [not found]     ` <019101cf69ac$f7d1ffe0$e775ffa0$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-09  8:56       ` Linus Walleij
2014-05-07  4:30   ` [PATCH 14/16] i2c: tegra: " Jingoo Han
2014-05-07  4:31   ` [PATCH 15/16] i2c: wmt: " Jingoo Han
2014-05-07  4:32   ` [PATCH 16/16] i2c: scx200_acb: " Jingoo Han
2014-05-11 11:22   ` [PATCH 00/16] i2c: " Wolfram Sang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140507073035.GX28564@pengutronix.de \
    --to=u.kleine-koenig-bicnvbalz9megne8c9+irq@public.gmane.org \
    --cc=jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
    --cc=wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).