[lkml]   [2011]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/6] use devm_request_and_ioremap
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.

 \ /
  Last update: 2011-12-27 15:03    [W:0.039 / U:12.732 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site