kernel-fxtec-pro1x/drivers/mtd/nand
Artem Bityutskiy 42d7fbe223 mtd: do not use plain 0 as NULL
The first 3 arguments of 'mtd_device_parse_register()' are pointers,
but many callers pass '0' instead of 'NULL'. Fix this globally. Thanks
to coccinelle for making it easy to do with the following semantic patch:

 @@
 expression mtd, types, parser_data, parts, nr_parts;
 @@
 (
 -mtd_device_parse_register(mtd, 0, parser_data, parts, nr_parts)
 +mtd_device_parse_register(mtd, NULL, parser_data, parts, nr_parts)
 |
 -mtd_device_parse_register(mtd, types, 0, parts, nr_parts)
 +mtd_device_parse_register(mtd, types, NULL, parts, nr_parts)
 |
 -mtd_device_parse_register(mtd, types, parser_data, 0, nr_parts)
 +mtd_device_parse_register(mtd, types, parser_data, NULL, nr_parts)
 )

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-03-27 00:53:20 +01:00
..
gpmi-nand mxs-dma : rewrite the last parameter of mxs_dma_prep_slave_sg() 2012-03-27 00:37:28 +01:00
alauda.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
ams-delta.c mtd: convert drivers/mtd/* to use module_platform_driver() 2012-01-09 18:12:35 +00:00
atmel_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
atmel_nand_ecc.h
au1550nd.c MTD: nand: make au1550nd.c a platform_driver 2011-12-08 10:42:10 +00:00
autcpu12.c mtd: nand: rename NAND_USE_FLASH_BBT 2011-09-11 15:01:56 +03:00
bcm_umi_bch.c
bcm_umi_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
bf5xx_nand.c mtd: bf5xx_nand: convert to mtd_device_register() 2011-05-25 02:23:15 +01:00
cafe_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
cmx270_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
cs553x_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
davinci_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
denali.c mtd: denali: detect the number of banks before resetting NAND 2011-09-11 15:02:04 +03:00
denali.h
diskonchip.c mtd: introduce mtd_read interface 2012-01-09 18:25:19 +00:00
docg4.c mtd: docg4: fix printk() warnings 2012-03-27 00:21:44 +01:00
fsl_elbc_nand.c mtd: nand: Add ONFI support for FSL NAND controller 2012-01-09 18:18:47 +00:00
fsl_upm.c mtd: convert drivers/mtd/* to use module_platform_driver() 2012-01-09 18:12:35 +00:00
fsmc_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
gpio.c mtd: gpio-nand: add device tree bindings 2012-01-09 18:23:58 +00:00
h1910.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
jz4740_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
Kconfig mtd: gpmi: fix compiler warning 2012-03-27 00:35:31 +01:00
Makefile mtd: nand: add support for diskonchip G4 nand flash device 2012-03-27 00:18:31 +01:00
mpc5121_nfc.c mtd: convert drivers/mtd/* to use module_platform_driver() 2012-01-09 18:12:35 +00:00
mxc_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
nand_base.c mtd: change the location of the ONFI detected log 2012-03-27 00:38:37 +01:00
nand_bbt.c mtd: introduce mtd_write_oob interface 2012-01-09 18:25:24 +00:00
nand_bch.c mtd: cleanup style on pr_debug messages 2011-09-11 15:02:16 +03:00
nand_bcm_umi.c
nand_bcm_umi.h
nand_ecc.c mtd: spelling, capitalization, uniformity 2011-09-11 15:02:13 +03:00
nand_ids.c mtd: nand: add 512 Mbit device code (Macronix) 2012-01-09 17:59:44 +00:00
nandsim.c mtd: introduce mtd_block_markbad interface 2012-01-09 18:25:48 +00:00
ndfc.c mtd: convert drivers/mtd/* to use module_platform_driver() 2012-01-09 18:12:35 +00:00
nomadik_nand.c mtd: introduce mtd_resume interface 2012-01-09 18:25:46 +00:00
nuc900_nand.c mtd: convert drivers/mtd/* to use module_platform_driver() 2012-01-09 18:12:35 +00:00
omap2.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
orion_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
pasemi_nand.c mtd: convert drivers/mtd/* to use module_platform_driver() 2012-01-09 18:12:35 +00:00
plat_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
ppchameleonevb.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
pxa3xx_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
r852.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
r852.h
rtc_from4.c mtd: replace DEBUG() with pr_debug() 2011-09-11 15:02:16 +03:00
s3c2410.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
sh_flctl.c mtd: sh_flctl: Add FLHOLDCR register 2012-03-27 00:43:08 +01:00
sharpsl.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
sm_common.c mtd: introduce mtd_write_oob interface 2012-01-09 18:25:24 +00:00
sm_common.h
socrates_nand.c mtd: convert drivers/mtd/* to use module_platform_driver() 2012-01-09 18:12:35 +00:00
spia.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
tmio_nand.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
txx9ndfmc.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00