spi: Convert uses of struct resource * to resource_size(ptr)
authorJoe Perches <joe@perches.com>
Sat, 11 Jun 2011 01:11:25 +0000 (18:11 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 11 Jun 2011 05:43:41 +0000 (23:43 -0600)
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: Grant Likely <grant.likely@secretlab.ca>

No differences found