[PATCH 5.15 518/731] power: supply: z2_battery: Fix possible memleak in z2_batt_probe()