summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/nand_micron.c
diff options
context:
space:
mode:
authorBoris Brezillon2018-08-04 22:59:23 +0200
committerMiquel Raynal2018-10-03 11:12:25 +0200
commit800342de6349b333ef2ab921e590708a43ee4345 (patch)
tree6a79522edebdcbb347fcc7f6836983d40e09a620 /drivers/mtd/nand/raw/nand_micron.c
parentmtd: rawnand: Make maxchips an unsigned int (diff)
downloadkernel-qcow2-linux-800342de6349b333ef2ab921e590708a43ee4345.tar.gz
kernel-qcow2-linux-800342de6349b333ef2ab921e590708a43ee4345.tar.xz
kernel-qcow2-linux-800342de6349b333ef2ab921e590708a43ee4345.zip
mtd: rawnand: Do not treat !maxchips specially in nand_scan_with_ids()
The only reason we were skipping nand_scan_ident() when maxchips == 0 was to make the docg4 to work. Now that this driver is gone we can remove this special case and return an error when maxchips is 0. Suggested-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/nand_micron.c')
0 files changed, 0 insertions, 0 deletions