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
..
2011-11-07 10:13:52 -08:00
2011-08-03 11:15:59 -04:00
2011-09-27 18:08:04 +02:00
2011-11-04 12:01:48 -07:00
2011-08-08 11:40:15 +02:00
2011-09-27 18:08:04 +02:00
2011-11-04 12:01:46 -07:00
2011-08-08 18:55:59 +02:00
2011-09-27 18:08:04 +02:00
2011-10-31 20:21:22 +00:00
2011-11-07 09:11:16 -08:00
2011-11-07 09:11:16 -08:00
2011-11-15 16:07:39 -08:00
2011-10-14 10:29:45 -03:00
2011-10-26 16:32:13 -04:00
2011-08-24 10:12:38 +00:00
2011-11-04 12:01:48 -07:00
2011-09-27 18:08:04 +02:00
2011-11-04 12:00:48 +01:00
2011-10-30 13:47:25 +01:00
2011-10-27 08:44:20 +02:00
2011-09-12 11:50:56 -07:00
2011-11-04 12:01:47 -07:00
2011-11-04 12:01:48 -07:00
2011-08-03 14:25:21 -10:00
2011-11-01 09:19:45 +01:00
2011-09-27 18:08:04 +02:00
2011-11-04 22:28:14 +01:00
2011-11-02 16:07:02 -07:00
2011-09-28 21:38:28 -07:00
2011-08-14 12:03:58 +02:00
2011-10-28 16:44:18 -07:00
2011-09-27 18:08:04 +02:00
2011-11-04 12:01:48 -07:00
2011-10-28 14:25:01 -07:00
2011-09-27 18:08:04 +02:00
2011-10-31 17:30:53 -07:00
2011-09-27 18:08:04 +02:00
2011-10-31 17:30:44 -07:00
2011-10-25 15:18:39 +02:00
2011-09-23 23:31:12 -03:00
2011-11-02 09:45:39 -07:00
2011-10-26 18:09:12 +03:00
2011-11-05 21:25:16 +01:00
2011-08-16 08:04:08 -07:00
2011-09-26 16:18:41 -07:00
2011-08-13 18:34:03 -07:00
2011-09-27 18:08:04 +02:00
2011-11-04 12:01:47 -07:00
2011-07-26 16:49:45 -07:00
2011-11-02 16:07:02 -07:00
2011-07-27 20:33:48 +05:30
2011-08-13 18:34:03 -07:00
2011-11-02 16:07:02 -07:00
2011-09-21 19:45:34 +03:00
2011-09-27 18:08:04 +02:00
2011-10-31 17:46:07 -07:00
2011-07-28 11:31:48 +10:00
2011-09-27 18:08:04 +02:00
2011-09-27 18:08:04 +02:00
2011-11-07 07:54:42 +10:30
2011-10-13 12:49:17 +02:00
2011-08-13 18:34:03 -07:00
2011-09-27 18:08:04 +02:00
2011-10-18 13:58:59 -07:00
2011-08-13 18:34:03 -07:00
2011-08-13 18:34:02 -07:00