Skip to content
Snippets Groups Projects
Commit 8e2943c0 authored by Joe Perches's avatar Joe Perches Committed by Grant Likely
Browse files

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: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent e4c8308c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment