[PATCH 6.0 0290/1073] mtd: Fix device name leak when register device failed in add_mtd_device()