[PATCH v2 08/46] mtd: nandsim: Kill global nsmtd

2016-09-21 Thread Daniel Walter
From: Richard Weinberger Do it like UBI and support in future up to 32 instances. For now we still keep a single instance and allow more when all global state has been removed. Signed-off-by: Richard Weinberger --- drivers/mtd/nand/nandsim.c | 14 +++---

[PATCH v2 08/46] mtd: nandsim: Kill global nsmtd

2016-09-21 Thread Daniel Walter
From: Richard Weinberger Do it like UBI and support in future up to 32 instances. For now we still keep a single instance and allow more when all global state has been removed. Signed-off-by: Richard Weinberger --- drivers/mtd/nand/nandsim.c | 14 +++--- 1 file changed, 11