Home
last modified time | relevance | path

Searched refs:pbats (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dpmu_battery.c22 } *pbats[PMU_MAX_BATTERIES]; variable
184 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()