[PATCH 5.4 122/658] mtd: Fix device name leak when register device failed in add_mtd_device()