[PATCH 0/6] use devm_request_and_ioremap

From: Julia Lawall
Date: Tue Dec 27 2011 - 09:02:19 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/