[RFC 22/42] drivers/rtc: don't check resource with devm_ioremap_resource

Viresh Kumar viresh.kumar at linaro.org
Sun May 12 11:11:42 EDT 2013


On Fri, May 10, 2013 at 1:47 PM, Wolfram Sang <wsa at the-dreams.de> wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
>
> Signed-off-by: Wolfram Sang <wsa at the-dreams.de>
> ---
>  drivers/rtc/rtc-spear.c  |    7 +------

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>



More information about the linux-arm-kernel mailing list