linux/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 mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
autcpu12-nvram.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
bcm963xx-flash.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
bfin-async-flash.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
cdb89712.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
ceiva.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
cfi_flagadm.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
ck804xrom.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
dbox2-flash.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
dc21285.c mtd: dc21285: convert to mtd_device_register() 2011-05-25 02:21:36 +01:00
dilnetpc.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
dmv182.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
edb7312.c mtd: edb7312: convert to mtd_device_register() 2011-05-25 02:21:40 +01:00
esb2rom.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
fortunet.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
gpio-addr-flash.c mtd: gpio-addr-flash: convert to mtd_device_register() 2011-05-25 02:21:43 +01:00
h720x-flash.c mtd: h720x-flash: convert to mtd_device_register() 2011-05-25 02:21:46 +01:00
ichxrom.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
impa7.c mtd: impa7: convert to mtd_device_register() 2011-05-25 02:21:48 +01:00
intel_vr_nor.c mtd: intel_vr_nor: convert to mtd_device_register() 2011-05-25 02:21:51 +01:00
ixp4xx.c
ixp2000.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
Kconfig Merge git://git.infradead.org/mtd-2.6 2011-05-27 20:06:53 -07:00
l440gx.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
lantiq-flash.c
latch-addr-flash.c mtd: latch-addr-flash: convert to mtd_device_register() 2011-05-25 02:21:59 +01:00
Makefile
map_funcs.c
mbx860.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
netsc520.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
nettel.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
octagon-5066.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
pci.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
pcmciamtd.c Merge git://git.infradead.org/mtd-2.6 2011-05-27 20:06:53 -07:00
physmap.c Merge git://git.infradead.org/mtd-2.6 2011-05-27 20:06:53 -07:00
physmap_of.c
pismo.c
plat-ram.c mtd: plat-ram: convert to mtd_device_register() 2011-05-25 02:22:00 +01:00
pmcmsp-flash.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
pxa2xx-flash.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
rbtx4939-flash.c mtd: rbtx4939-flash: convert to mtd_device_register() 2011-05-25 02:22:01 +01:00
rpxlite.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
sa1100-flash.c mtd: sa1100-flash: convert to mtd_device_register() 2011-05-25 02:22:03 +01:00
sbc_gxx.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
sc520cdp.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
scb2_flash.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
scx200_docflash.c mtd: scx200_docflash: convert to mtd_device_register() 2011-05-25 02:22:04 +01:00
solutionengine.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
sun_uflash.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
tqm8xxl.c mtd: tqm8xll: convert to mtd_device_register() 2011-05-25 02:22:57 +01:00
ts5500_flash.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
tsunami_flash.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
uclinux.c mtd: uclinux: convert to mtd_device_register() 2011-05-25 02:23:09 +01:00
vmax301.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
vmu-flash.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
wr_sbc82xx_flash.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00