diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-09-07 00:38:33 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-10-03 11:12:25 +0200 |
commit | 4ae94025171608e0661372cf846e17d062cb9620 (patch) | |
tree | d004d2c3b221bf38522c79256b205d8d97006875 /arch/arm/mach-orion5x/ts78xx-setup.c | |
parent | mtd: rawnand: Do not treat !maxchips specially in nand_scan_with_ids() (diff) | |
download | linux-4ae94025171608e0661372cf846e17d062cb9620.tar.xz linux-4ae94025171608e0661372cf846e17d062cb9620.zip |
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>
Diffstat (limited to 'arch/arm/mach-orion5x/ts78xx-setup.c')
0 files changed, 0 insertions, 0 deletions