resources: Add device-managed request/release_resource()
authorThierry Reding <treding@nvidia.com>
Fri, 1 Aug 2014 12:15:10 +0000 (14:15 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 4 Sep 2014 20:41:43 +0000 (14:41 -0600)
commit8d38821cbcf51292cd5a23469d03bd38932a3ba9
treea41f35c52ba3826dc4099a8bf24630a410633f62
parent52addcf9d6669fa439387610bc65c92fa0980cef
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>
Documentation/driver-model/devres.txt
include/linux/ioport.h
kernel/resource.c
This page took 0.027116 seconds and 5 git commands to generate.