MTD_DEVT
mtd->dev.devt = MTD_DEVT(i);
device_create(&mtd_class, mtd->dev.parent, MTD_DEVT(i) + 1, NULL,
dev_t index = MTD_DEVT(mtd->index);