Re: [PATCH] drivers: cpufreq: kirkwood: fix coccicheck warnings

From: Viresh Kumar
Date: Thu Mar 21 2013 - 22:44:15 EST


On Fri, Mar 22, 2013 at 5:40 AM, Silviu-Mihai Popescu
<silviupopescu1990@xxxxxxxxx> 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@xxxxxxxxx>
> ---
> drivers/cpufreq/kirkwood-cpufreq.c | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/