Messages in this thread | | | From | Julia Lawall <> | Subject | [PATCH 0/6] use devm_request_and_ioremap | Date | Tue, 27 Dec 2011 15:01:25 +0100 |
| |
Commit 72f8c0bfa0de64c68ee59f40eb9b2683bffffbb0 added the function devm_request_and_ioremap that combines devm_request_mem_region and devm_ioremap or devm_ioremap_nocache. Even if devm_request_and_ioremap does not add functionality, except for the implicit choice between devm_ioremap and devm_ioremap_nocache, it is much more concise than the code it replaces.
There are a few more obvious opportunities for using devm_request_and_ioremap if one is not picky about the name argument.
| |