[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130311134621.GA23237@titan.lakedaemon.net>
Date: Mon, 11 Mar 2013 09:46:21 -0400
From: Jason Cooper <jason@...edaemon.net>
To: Silviu-Mihai Popescu <silviupopescu1990@...il.com>
Cc: cpufreq@...r.kernel.org, rjw@...k.pl, rui.zhang@...el.com,
andrew@...n.ch, rob.lee@...aro.org, len.brown@...el.com,
khilman@...com, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kirkwood: fix coccicheck warnings
On Mon, Mar 11, 2013 at 09:35:19AM +0200, Silviu-Mihai Popescu wrote:
> Convert all uses of devm_request_and_ioremap() to the newly introduced
> devm_ioremap_resource() which provides more consistent error handling.
>
> devm_ioremap_resource() provides its own error messages so all explicit
> error messages can be removed from the failure code paths.
>
> Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@...il.com>
> ---
> drivers/cpufreq/kirkwood-cpufreq.c | 8 +++-----
> drivers/cpuidle/cpuidle-kirkwood.c | 6 +++---
> drivers/thermal/kirkwood_thermal.c | 8 +++-----
> 3 files changed, 9 insertions(+), 13 deletions(-)
Acked-by: Jason Cooper <jason@...edaemon.net>
thx,
Jason.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists