# \[PATCH 0/7\] replace devm\_request\_and\_ioremap by devm\_ioremap\_resource

- From: Julia Lawall \<hidden\>
- Date: 2013-08-19 11:21:09 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/08/4102987
- Thread: https://ratatoskr.run/linux-fbdev/2013/08/4102987/t.md

```text
devm_request_and_ioremap has been replaced by devm_ioremap_resource, which
gives more informative error return code information.  This patch series
removes the remaining uses of devm_request_and_ioremap.

This patch series was generated using the semantic patch
scripts/coccinelle/api/devm_ioremap_resource.cocci from the Linux kernel
source tree.  Manual modifications have been made to move associated calls
to platform_get_resource closer to the resulting call to
devm_ioremap_resource and to remove the associated error handling code.

```
