All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@linaro.org>
To: Wei Yongjun <weiyj.lk@gmail.com>
Cc: nm@ti.com, anton@enomsg.org, dwmw2@infradead.org,
	andrii.tseglytskyi@ti.com, jean.pihet@newoldbits.com,
	tony@atomide.com, yongjun_wei@trendmicro.com.cn,
	linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
	linux-pm@vger.kernel.org
Subject: Re: [PATCH RESEND] PM / AVS: SmartReflex: remove redundant dev_err call in omap_sr_probe()
Date: Mon, 05 Aug 2013 09:25:04 -0700	[thread overview]
Message-ID: <87r4e8gl5r.fsf@linaro.org> (raw)
In-Reply-To: <CAPgLHd-toHh8DcooiVz7222kiE-F+xsj1nai2hNEHo95X-3+Ow@mail.gmail.com> (Wei Yongjun's message of "Fri, 12 Jul 2013 12:59:40 +0800")

Wei Yongjun <weiyj.lk@gmail.com> writes:

> There is a error message within devm_ioremap_resource
> already, so remove the dev_err call to avoid redundant
> error message.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> Acked-by: Nishanth Menon <nm@ti.com>
> ---
> cc to linux-pm with Nishanth Menon's ACK

Thanks, queued for v3.12.

Kevin

> ---
>  drivers/power/avs/smartreflex.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/power/avs/smartreflex.c b/drivers/power/avs/smartreflex.c
> index db9973b..c26acfc 100644
> --- a/drivers/power/avs/smartreflex.c
> +++ b/drivers/power/avs/smartreflex.c
> @@ -871,10 +871,8 @@ static int __init omap_sr_probe(struct platform_device *pdev)
>  
>  	mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
>  	sr_info->base = devm_ioremap_resource(&pdev->dev, mem);
> -	if (IS_ERR(sr_info->base)) {
> -		dev_err(&pdev->dev, "%s: ioremap fail\n", __func__);
> +	if (IS_ERR(sr_info->base))
>  		return PTR_ERR(sr_info->base);
> -	}
>  
>  	irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
>  

  reply	other threads:[~2013-08-05 16:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26  1:57 [PATCH -next] PM / AVS: SmartReflex: remove redundant dev_err call in omap_sr_probe() Wei Yongjun
2013-06-26 13:06 ` Nishanth Menon
2013-06-26 13:06   ` Nishanth Menon
     [not found]   ` <877gh8nbpm.fsf@linaro.org>
2013-07-12  4:59     ` [PATCH RESEND] " Wei Yongjun
2013-08-05 16:25       ` Kevin Hilman [this message]
2013-06-29  1:42 ` [PATCH -next] " Anton Vorontsov

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=87r4e8gl5r.fsf@linaro.org \
    --to=khilman@linaro.org \
    --cc=andrii.tseglytskyi@ti.com \
    --cc=anton@enomsg.org \
    --cc=dwmw2@infradead.org \
    --cc=jean.pihet@newoldbits.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=tony@atomide.com \
    --cc=weiyj.lk@gmail.com \
    --cc=yongjun_wei@trendmicro.com.cn \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.