kernel-hacking-2024-linux-s.../drivers/mtd/nand
Scott Wood 874d72c4fe mtd: elbc nand: use drvdata to only remove the relevant chip
Previously the remove method was looping and removing all chips,
which is obviously not the right thing to do — left over from when
the driver was organized differently and that was the remove method for
the entire controller.  This would result in bad things happening if
you have more than one NAND chip, and remove the module.

This also fixes priv->dev to properly point to the chip's device rather than
the controller's.  Until now priv->dev was only used for error/debug prints
(and it's an improvement there), so this shouldn't break anything.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-07-06 18:17:05 +01:00
..
gpmi-nand mtd: nand: gpmi: need to use {read,write}_oob_raw 2012-07-06 18:17:02 +01:00
alauda.c mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN 2012-05-13 23:14:23 -05:00
ams-delta.c
atmel_nand.c mtd: nand: add 'oob_required' argument to NAND {read,write}_page interfaces 2012-05-13 23:20:00 -05:00
atmel_nand_ecc.h
au1550nd.c mtd: nand: kill NAND_NO_AUTOINCR option 2012-05-13 23:15:38 -05:00
autcpu12.c
bcm_umi_bch.c mtd: nand: add 'oob_required' argument to NAND {read,write}_page interfaces 2012-05-13 23:20:00 -05:00
bcm_umi_nand.c mtd: nand: add 'oob_required' argument to NAND {read,write}_page interfaces 2012-05-13 23:20:00 -05:00
bf5xx_nand.c mtd: nand: add 'oob_required' argument to NAND {read,write}_page interfaces 2012-05-13 23:20:00 -05:00
cafe_nand.c mtd: cafe_nand: spelling mistake 2012-07-06 18:17:02 +01:00
cmx270_nand.c
cs553x_nand.c mtd: nand: kill NAND_NO_AUTOINCR option 2012-05-13 23:15:38 -05:00
davinci_nand.c
denali.c mtd: nand: remove 'sndcmd' parameter of 'read_oob/read_oob_raw' 2012-05-13 23:24:40 -05:00
denali.h
diskonchip.c
docg4.c mtd: nand: remove 'sndcmd' parameter of 'read_oob/read_oob_raw' 2012-05-13 23:24:40 -05:00
fsl_elbc_nand.c mtd: elbc nand: use drvdata to only remove the relevant chip 2012-07-06 18:17:05 +01:00
fsl_ifc_nand.c mtd: nand: kill NAND_NO_READRDY 2012-07-06 18:17:05 +01:00
fsl_upm.c
fsmc_nand.c mtd: nand: add 'oob_required' argument to NAND {read,write}_page interfaces 2012-05-13 23:20:00 -05:00
gpio.c
h1910.c - More robust parsing especially of xattr data in JFFS2 2012-06-01 16:55:42 -07:00
jz4740_nand.c mtd: nand: fix incorrect ecc strength values 2012-05-13 23:10:28 -05:00
Kconfig mtd: nand: omap: add support for hardware BCH ecc 2012-05-13 23:25:51 -05:00
Makefile
mpc5121_nfc.c mtd: nand: kill NAND_NO_AUTOINCR option 2012-05-13 23:15:38 -05:00
mxc_nand.c nand: mxc_nand: Use clk_prepare_enable/clk_disable_unprepare 2012-07-06 18:17:05 +01:00
nand_base.c mtd: nand: kill NAND_NO_READRDY 2012-07-06 18:17:05 +01:00
nand_bbt.c mtd: nand: fix scan_read_raw_oob 2012-05-29 11:14:58 +03:00
nand_bch.c
nand_bcm_umi.c
nand_bcm_umi.h
nand_ecc.c
nand_ids.c mtd: nand: kill NAND_NO_READRDY 2012-07-06 18:17:05 +01:00
nandsim.c mtd: nandsim: don't open code a do_div helper 2012-07-06 16:59:33 +01:00
ndfc.c
nomadik_nand.c
nuc900_nand.c
omap2.c mtd: nand: omap: add support for hardware BCH ecc 2012-05-13 23:25:51 -05:00
orion_nand.c arm-soc: clock driver changes 2012-05-26 12:42:29 -07:00
pasemi_nand.c mtd: nand: kill NAND_NO_AUTOINCR option 2012-05-13 23:15:38 -05:00
plat_nand.c mtd: add read_byte support to plat_nand 2012-05-13 23:16:53 -05:00
ppchameleonevb.c
pxa3xx_nand.c mtd: nand: kill NAND_NO_READRDY 2012-07-06 18:17:05 +01:00
r852.c mtd: nand: remove 'sndcmd' parameter of 'read_oob/read_oob_raw' 2012-05-13 23:24:40 -05:00
r852.h
rtc_from4.c
s3c2410.c
sh_flctl.c mtd: sh_flctl: Use user oob data in hardware ECC mode 2012-07-06 18:17:04 +01:00
sharpsl.c
sm_common.c mtd: nand: kill NAND_NO_AUTOINCR option 2012-05-13 23:15:38 -05:00
sm_common.h
socrates_nand.c
spia.c
tmio_nand.c
txx9ndfmc.c