From: Joe Perches Date: Sat, 11 Jun 2011 01:11:25 +0000 (-0700) Subject: spi: Convert uses of struct resource * to resource_size(ptr) X-Git-Tag: v3.1-rc1~312^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e2943c04c74e537c762c09bcea89e923510a9ac;p=pandora-kernel.git 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 Signed-off-by: Grant Likely --- Reading git-diff-tree failed