kernel-hacking-2024-linux-s.../drivers/mtd/maps
Joe Perches 28f65c11f2 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 <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-06-10 14:55:36 +02:00
..
amd76xrom.c
autcpu12-nvram.c
bcm963xx-flash.c
bfin-async-flash.c
cdb89712.c
ceiva.c
cfi_flagadm.c
ck804xrom.c
dbox2-flash.c
dc21285.c
dilnetpc.c
dmv182.c
edb7312.c
esb2rom.c
fortunet.c
gpio-addr-flash.c
h720x-flash.c
ichxrom.c
impa7.c
intel_vr_nor.c
ixp4xx.c
ixp2000.c
Kconfig
l440gx.c
lantiq-flash.c
latch-addr-flash.c
Makefile
map_funcs.c
mbx860.c
netsc520.c
nettel.c
octagon-5066.c
pci.c
pcmciamtd.c
physmap.c
physmap_of.c
pismo.c
plat-ram.c
pmcmsp-flash.c
pxa2xx-flash.c
rbtx4939-flash.c
rpxlite.c
sa1100-flash.c
sbc_gxx.c
sc520cdp.c
scb2_flash.c
scx200_docflash.c
solutionengine.c
sun_uflash.c
tqm8xxl.c
ts5500_flash.c
tsunami_flash.c
uclinux.c
vmax301.c
vmu-flash.c
wr_sbc82xx_flash.c