diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-05 12:27:32 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-18 10:10:12 +0200 |
commit | f0f01838f76420988b50b23f315704c9a5cd2fa9 (patch) | |
tree | 455421c5bdf4c72e9d9a45844ff50aa846762d82 /drivers/mtd/nand/raw/orion_nand.c | |
parent | mtd: rawnand: Kill the chip->scan_bbt() hook (diff) | |
download | linux-f0f01838f76420988b50b23f315704c9a5cd2fa9.tar.xz linux-f0f01838f76420988b50b23f315704c9a5cd2fa9.zip |
mtd: rawnand: orion_nand: Kill orion_nand_data.dev_ready()
None of the boards seem to overload the ->dev_ready() hook, just drop
this field from orion_nand_data.
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/orion_nand.c')
-rw-r--r-- | drivers/mtd/nand/raw/orion_nand.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/nand/raw/orion_nand.c b/drivers/mtd/nand/raw/orion_nand.c index 7825fd3ce66b..1a4828442675 100644 --- a/drivers/mtd/nand/raw/orion_nand.c +++ b/drivers/mtd/nand/raw/orion_nand.c @@ -153,9 +153,6 @@ static int __init orion_nand_probe(struct platform_device *pdev) if (board->width == 16) nc->options |= NAND_BUSWIDTH_16; - if (board->dev_ready) - nc->dev_ready = board->dev_ready; - platform_set_drvdata(pdev, info); /* Not all platforms can gate the clock, so it is not |