WSL2-Linux-Kernel/Documentation/driver-model
Wolfram Sang 72f8c0bfa0 lib: devres: add convenience function to remap a resource
Almost every platform_driver does the three steps get_resource,
request_mem_region, ioremap. This does not only lead to a lot of code
duplication, but also a huge number of similar error strings and
inconsistent error codes on failure. So, introduce a helper function
which simplifies remapping a resource and make it hard to do something
wrong and add documentation for it.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-15 16:07:39 -08:00
..
binding.txt docs/driver-model: Update device class docs 2011-08-24 16:01:24 -07:00
bus.txt driver core: remove the driver-model structures from the documentation 2011-05-06 18:01:05 -07:00
class.txt driver core: remove the driver-model structures from the documentation 2011-05-06 18:01:05 -07:00
device.txt docs/driver-model: Document device.groups 2011-08-24 16:01:24 -07:00
devres.txt lib: devres: add convenience function to remap a resource 2011-11-15 16:07:39 -08:00
driver.txt driver core: remove the driver-model structures from the documentation 2011-05-06 18:01:05 -07:00
overview.txt DOCUMENTATION: Update overview.txt in Doc/driver-model. 2011-06-07 10:04:21 -07:00
platform.txt Fix spelling of 'platform' in comments and doc 2010-02-05 12:22:34 +01:00
porting.txt Fix typos in /Documentation : Misc 2006-11-30 05:21:10 +01:00