[PATCH v3 08/10] mtd: spinand: more refactoring