cpufreq: kirkwood: fix coccicheck warnings
authorSilviu-Mihai Popescu <silviupopescu1990@gmail.com>
Fri, 22 Mar 2013 00:10:22 +0000 (00:10 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 31 Mar 2013 23:11:35 +0000 (01:11 +0200)
commitcc721c4fdf742387f4e5a061fa8a7ab6fac453bf
tree597884195c2ee0c281c867da0703bdda31c84f47
parent5df6055939f295d723871d9781e73495b131b3d6
cpufreq: kirkwood: fix coccicheck warnings

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@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/kirkwood-cpufreq.c