diff options
author | Thierry Reding <treding@nvidia.com> | 2014-08-01 08:15:10 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-04 16:41:43 -0400 |
commit | 8d38821cbcf51292cd5a23469d03bd38932a3ba9 (patch) | |
tree | a41f35c52ba3826dc4099a8bf24630a410633f62 /Documentation/driver-model | |
parent | 52addcf9d6669fa439387610bc65c92fa0980cef (diff) |
resources: Add device-managed request/release_resource()
Provide device-managed implementations of the request_resource() and
release_resource() functions. Upon failure to request a resource, the new
devm_request_resource() function will output an error message for
consistent error reporting.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r-- | Documentation/driver-model/devres.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index d14710b04439..befc3fe12ba6 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt | |||
@@ -264,8 +264,10 @@ IIO | |||
264 | IO region | 264 | IO region |
265 | devm_release_mem_region() | 265 | devm_release_mem_region() |
266 | devm_release_region() | 266 | devm_release_region() |
267 | devm_release_resource() | ||
267 | devm_request_mem_region() | 268 | devm_request_mem_region() |
268 | devm_request_region() | 269 | devm_request_region() |
270 | devm_request_resource() | ||
269 | 271 | ||
270 | IOMAP | 272 | IOMAP |
271 | devm_ioport_map() | 273 | devm_ioport_map() |