commit | 4ae94025171608e0661372cf846e17d062cb9620 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Fri Sep 07 00:38:33 2018 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Wed Oct 03 11:12:25 2018 +0200 |
tree | d004d2c3b221bf38522c79256b205d8d97006875 | |
parent | 800342de6349b333ef2ab921e590708a43ee4345 [diff] |
mtd: rawnand: Leave chip->IO_ADDR_{R, W} to NULL when unused There's no point in poisoning the ->IO_ADDR_{R,W}, a NULL pointer is just as good to detect unexpected ->IO_ADDR_{R,W} usage. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>