Joe Perches 28f65c11f2 treewide: Convert uses of struct resource to resource_size(ptr)
Several fixes as well where the +1 was missing.

Done via coccinelle scripts like:

@@
struct resource *ptr;
@@

- ptr->end - ptr->start + 1
+ resource_size(ptr)

and some grep and typing.

Mostly uncompiled, no cross-compilers.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-06-10 14:55:36 +02:00
..
2011-03-31 11:26:23 -03:00
2009-05-17 19:12:25 +02:00
2010-10-26 10:17:29 -07:00
2009-05-17 19:12:25 +02:00
2010-11-22 11:37:21 -08:00
2011-03-10 08:52:07 +01:00
2011-03-09 19:54:27 +01:00
2009-09-01 17:52:57 -07:00
2009-03-27 12:46:34 +01:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2009-04-08 14:13:03 +02:00
2009-05-17 19:12:25 +02:00
2011-03-10 08:52:07 +01:00
2009-05-17 19:12:25 +02:00
2011-03-31 11:26:23 -03:00
2010-01-19 11:30:09 -08:00
2011-03-17 14:05:34 +01:00
2009-04-08 14:13:03 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00