Message ID | 20140801135540.GA373@ulmo.nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On Fri, Aug 01, 2014 at 03:55:42PM +0200, Thierry Reding wrote: > On Fri, Aug 01, 2014 at 08:55:22AM -0400, Tejun Heo wrote: > > On Fri, Aug 01, 2014 at 02:15:10PM +0200, Thierry Reding wrote: > > > From: Thierry Reding <treding@nvidia.com> > > > > > > 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> > > > > Acked-by: Tejun Heo <tj@kernel.org> > > > > But please also update Documentation/driver-model/devres.txt. > > The patch already contains the below hunk. Do you expect anything more > to be added to that file? Oops, I missed that. All look fine to me. Thanks.
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 IO region devm_release_mem_region() devm_release_region() + devm_release_resource() devm_request_mem_region() devm_request_region() + devm_request_resource() IOMAP devm_ioport_map()