diff options
author | Joe Perches <joe@perches.com> | 2011-06-11 01:11:25 (GMT) |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-06-11 05:43:41 (GMT) |
commit | 8e2943c04c74e537c762c09bcea89e923510a9ac (patch) | |
tree | 6ea287e3597434d14c976d63c1dbf7c7d330e41a /net/ax25/ax25_in.c | |
parent | e4c8308c852e6b3fa49215052a5b9e99597dee99 (diff) | |
download | linux-fsl-qoriq-8e2943c04c74e537c762c09bcea89e923510a9ac.tar.xz |
spi: Convert uses of struct resource * to resource_size(ptr)
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>
Diffstat (limited to 'net/ax25/ax25_in.c')
0 files changed, 0 insertions, 0 deletions