mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
This helper detects that whether the mtd's type is nand type. Now, it's clear that the MTD_NANDFLASH stands for SLC nand only. So use the mtd_type_is_nand() to replace the old check method to do the nand type (include the SLC and MLC) check. Signed-off-by: Huang Shijie <[email protected]> Signed-off-by: Brian Norris <[email protected]>