* Re: [PATCH 07/16] i2c: omap: remove unnecessary OOM messages
[not found] ` <018b01cf69ac$3922b120$ab681360$%han@samsung.com>
@ 2014-05-07 4:37 ` Felipe Balbi
0 siblings, 0 replies; only message in thread
From: Felipe Balbi @ 2014-05-07 4:37 UTC (permalink / raw)
To: Jingoo Han
Cc: 'Wolfram Sang', linux-i2c, 'Felipe Balbi',
Linux OMAP Mailing List
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
On Wed, May 07, 2014 at 01:24:23PM +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@samsung.com>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> drivers/i2c/busses/i2c-omap.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
> index 85f8eac..b182793 100644
> --- a/drivers/i2c/busses/i2c-omap.c
> +++ b/drivers/i2c/busses/i2c-omap.c
> @@ -1114,10 +1114,8 @@ omap_i2c_probe(struct platform_device *pdev)
> }
>
> dev = devm_kzalloc(&pdev->dev, sizeof(struct omap_i2c_dev), GFP_KERNEL);
> - if (!dev) {
> - dev_err(&pdev->dev, "Menory allocation failed\n");
> + if (!dev)
> return -ENOMEM;
> - }
>
> mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> dev->base = devm_ioremap_resource(&pdev->dev, mem);
> --
> 1.7.10.4
>
>
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-07 4:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <018301cf69aa$cb7987d0$626c9770$%han@samsung.com>
[not found] ` <018b01cf69ac$3922b120$ab681360$%han@samsung.com>
2014-05-07 4:37 ` [PATCH 07/16] i2c: omap: remove unnecessary OOM messages Felipe Balbi
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).