[PATCH 5.15 186/731] mtd: Fix device name leak when register device failed in add_mtd_device()