mtd: mtd in mtd_release is unused without CONFIG_MTD_CHAR