diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-10-29 12:30:50 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-11-06 14:08:10 +0100 |
commit | 068d7560c79f79674faf0267a319e4dc9b9bce8f (patch) | |
tree | a9108023780be87456f6be59a1f583813867296d /include | |
parent | 2b2fb0d1a48085ecdf7d64048e6386747486d573 (diff) | |
download | barebox-068d7560c79f79674faf0267a319e4dc9b9bce8f.tar.gz barebox-068d7560c79f79674faf0267a319e4dc9b9bce8f.tar.xz |
mtd: nand: drop unused errstat hook
chip->errstat is never set by any driver, so remove it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/nand.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index c4bdddc61e..a8a22210ca 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -466,9 +466,6 @@ struct nand_buffers { * structure which is shared among multiple independent * devices. * @priv: [OPTIONAL] pointer to private chip data - * @errstat: [OPTIONAL] hardware specific function to perform - * additional error status checks (determine if errors are - * correctable). * @write_page: [REPLACEABLE] High-level page write function */ @@ -491,8 +488,6 @@ struct nand_chip { int page_addr); int(*waitfunc)(struct mtd_info *mtd, struct nand_chip *this); int (*scan_bbt)(struct mtd_info *mtd); - int (*errstat)(struct mtd_info *mtd, struct nand_chip *this, int state, - int status, int page); int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip, uint32_t offset, int data_len, const uint8_t *buf, int oob_required, int page, int cached, int raw); |