From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: Re: [PATCH 06/16] i2c: imx: remove unnecessary OOM messages Date: Wed, 7 May 2014 09:30:35 +0200 Message-ID: <20140507073035.GX28564@pengutronix.de> References: <018301cf69aa$cb7987d0$626c9770$%han@samsung.com> <018a01cf69ab$aef30540$0cd90fc0$%han@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <018a01cf69ab$aef30540$0cd90fc0$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jingoo Han Cc: 'Wolfram Sang' , linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, 'Sascha Hauer' List-Id: linux-i2c@vger.kernel.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. >=20 > Signed-off-by: Jingoo Han Acked-by: Uwe Kleine-K=F6nig Thanks Uwe > --- > drivers/i2c/busses/i2c-imx.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >=20 > diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-im= x.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) > =20 > i2c_imx =3D 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; > - } --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig = | Industrial Linux Solutions | http://www.pengutronix.de/= |