From: Joe Perches Date: Thu, 9 Jun 2011 16:13:32 +0000 (-0700) Subject: treewide: Convert uses of struct resource to resource_size(ptr) X-Git-Tag: v3.1-rc1~245^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28f65c11f2ffb3957259dece647a24f8ad2e241b;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed