Searched refs:pbats (Results 1 – 1 of 1) sorted by relevance
22 } *pbats[PMU_MAX_BATTERIES]; variable184 pbats[i] = pbat; in pmu_bat_init()191 if (!pbats[i]) in pmu_bat_init()193 power_supply_unregister(pbats[i]->bat); in pmu_bat_init()194 kfree(pbats[i]); in pmu_bat_init()209 if (!pbats[i]) in pmu_bat_exit()211 power_supply_unregister(pbats[i]->bat); in pmu_bat_exit()212 kfree(pbats[i]); in pmu_bat_exit()